lion/packages/ui/components
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
..
accordion chore: added test 2023-03-14 13:40:40 +01:00
button feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
calendar feat(@lion/ui): add _previousIconTemplate and _nextIconTemplate to LionCalendar (#1954) 2023-04-03 17:00:30 +02:00
checkbox-group feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
collapsible feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
combobox fix(combobox): update option list after clear 2023-03-22 13:07:34 +01:00
core chore: improve SlotMixin feedback 2022-12-09 15:54:28 +01:00
dialog fix(ui): prevent infinite tooltip loops 2022-12-15 16:52:02 +01:00
drawer fix: changed import in type definition from @lion/core to lit 2022-11-08 07:58:17 +01:00
fieldset chore: introduce a component src folder 2022-10-31 16:55:07 +01:00
form feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
form-core feat(combobox): add requireOptionMatch flag and MatchesOption validator 2023-03-16 18:18:40 +01:00
form-integrations/test chore: camelCase linting for properties 2023-02-08 20:22:26 +01:00
helpers feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
icon fix(icon): non-fatal console error for missing icons (#1884) 2023-01-23 12:37:18 +01:00
input fix(ui): type requestUpdate 2022-11-22 19:29:37 +01:00
input-amount fix(localize): don't set modelValue to unparseable if date has a negative timezone 2023-02-01 17:42:19 +01:00
input-date fix(localize): don't set modelValue to unparseable if date has a negative timezone 2023-02-01 17:42:19 +01:00
input-datepicker feat(@lion/ui): add _invokerIconTemplate to LionInputDatepicker 2023-03-16 15:30:02 +01:00
input-email feat(@lion/ui): localize side effect free internally 2023-02-01 16:06:30 +01:00
input-iban fix: more sensible default for German iban validator translation 2023-03-15 09:42:48 +01:00
input-range feat(@lion/ui): localize side effect free internally 2023-02-01 16:06:30 +01:00
input-stepper feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
input-tel feat(@lion/ui): localize side effect free internally 2023-02-01 16:06:30 +01:00
input-tel-dropdown feat(@lion/ui): localize side effect free internally 2023-02-01 16:06:30 +01:00
listbox chore(overlays): add documentation about role=none is used 2023-03-20 14:18:53 +01:00
localize Feat/localize manager override data (#1900) 2023-02-02 17:04:49 +01:00
overlays Fix/dialog scroll to top ios (#1957) 2023-04-13 15:04:23 +02:00
pagination feat(@lion/ui): localize side effect free internally 2023-02-01 16:06:30 +01:00
progress-indicator feat(@lion/ui): localize side effect free internally 2023-02-01 16:06:30 +01:00
radio-group feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
select chore: - added test to assert that modelValue of lion-select is updated when the value or text of one or more options are changed 2023-02-01 17:15:51 +01:00
select-rich fix(@lion/ui): [select-rich] listbox element always focused in overlay 2023-02-09 18:41:18 +01:00
steps feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
switch fix(switch): remove one of the two nested role="switch" 2023-03-15 11:31:43 +01:00
tabs feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
textarea feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
tooltip fix(ui): overlay fixes (responsive backdrop/select-rich/tooltip) 2022-12-16 08:47:48 +01:00
validate-messages feat(combobox): add requireOptionMatch flag and MatchesOption validator 2023-03-16 18:18:40 +01:00