lion/packages/ui
Danny Moerkerke 5b8d655f10
Fix/dialog scroll to top ios (#1957)
* fix: possible fix for iOS focus issue WIP

* chore: added test for elementToFocusAfterHide WIP

* chore: dialog tests for elementToFocusAFterHide

* chore: added test to assert element specified in `elementToFocusAfterHide` config key of lion-dialog is scrolled into the viewport

* chore: - added test to assert that element specified in dialog config key `elementToFocusAfterHide` is not focused when the dialog is closed if the user deliberately moved focus to another element while the dialog was open
       - added changeset

* chore: - removed unneeded button
       - renamed this.__activeElement to this.__activeElementRightBeforeHide in OverlayController.js
       - set this.__activeElementRightBeforeHide to this.contentNode.getRootNode().activeElement instead of document.activeElement

* chore: moved test to assert if element specified in dialog config key elementToFocusAfterHide is in viewport when dialog is closed to OverlayController.test.js

---------

Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2023-04-13 15:04:23 +02:00
..
_legacy-changelogs feat: move all web pkgs into a single npm pkg @lion/ui 2022-10-31 11:15:03 +01:00
components Fix/dialog scroll to top ios (#1957) 2023-04-13 15:04:23 +02:00
docs chore: camelCase linting for properties 2023-02-08 20:22:26 +01:00
exports feat(combobox): add requireOptionMatch flag and MatchesOption validator 2023-03-16 18:18:40 +01:00
scripts chore: add script "copy-doc-assets" 2023-01-02 15:04:06 +01:00
CHANGELOG.md Version Packages 2023-03-20 09:30:27 +01:00
package.json Version Packages 2023-03-20 09:30:27 +01:00
README.md chore: add README for lion/ui package 2023-02-28 15:18:09 +01:00
tsconfig-check-only.json chore: apply types-correct in ui pkg 2022-11-23 16:14:18 +01:00
tsconfig.json feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00