You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a Modal, if the focused element is not currently on the screen (scrolled out of view) clicking in the modal outside a element triggers a jump to the focused element.
The same behaviour happens when clicking in a Toggle Button , wich makes selecting an option of a toggle impossible if the focused element is out of view.
here i have selected the Text Input
Having scrolled the Focused TextInput out of view, I will not be able to click in this ToggleButton without jumping to the TextInput
Expected behavior
The expected behaviour would be either :
Selecting a option would focus the toggle button, not allowing the modal to jump anywhere.
making it a option to disable this behaviour of scrollingIntoView when the focused element is not currently seen on screen
Package
filament/filament
Package Version
v3.2.132
Laravel Version
v11.5.0
Livewire Version
v3.5.12
PHP Version
PHP 8.3.13
Problem description
On a Modal, if the focused element is not currently on the screen (scrolled out of view) clicking in the modal outside a element triggers a jump to the focused element.
The same behaviour happens when clicking in a
Toggle Button
, wich makes selecting an option of a toggle impossible if the focused element is out of view.here i have selected the Text Input
Having scrolled the Focused TextInput out of view, I will not be able to click in this ToggleButton without jumping to the TextInput
Expected behavior
The expected behaviour would be either :
Steps to reproduce
The behaviour seen is the same when i click a ToggleButton
Reproduction repository (issue will be closed if this is not valid)
https://github.com/filamentphp/demo
Relevant log output
No response
The text was updated successfully, but these errors were encountered: