Issue number: resolves #28762
What is the current behavior?
Focused inputs have pointer-events: none. This code was added in e27452b to address #5536. However, this causes slotted buttons to not be clickable when the input is focused because pointer events have been removed.
This also causes the input to blur whenever you tap the label text.
This behavior only exists on ion-input. Textarea is not affected.
What is the new behavior?
This code was added several years ago for the (now) legacy syntax. I don't have full confidence that this won't break the legacy input because there's not a lot of context around why specifically this code was added. As a result, I scoped these styles only to the legacy input.
- Slotted buttons can now be clicked when the input is focused.
- Tapping the label when an input is focused keeps the input focused.
Does this introduce a breaking change?
- Yes
- No
Other information
Testing:
- I manually verified that scroll assist still works with the modern input.
- I manually verified that the input remains focused after tapping the label.
Dev build: 7.6.3-dev.11704229014.12cdc767