Repository navigation
Why is the QLayout component focusable? #15064
Unanswered
kazeshini178
asked this question in
General - Components / Directives / etc
Replies: 1 comment 5 replies
|
To allow focusing so you can scroll the content using keyboard |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Curious if there is a particular reason the
QLayoutcomponent is focus-able withtabindex="-1"which seems to be explicitly added belowquasar/ui/src/components/layout/QLayout.js
Lines 231 to 236 in 8d6cf17
Main reason for asking is that this caused some odd behaviour with another component we are using in our app as the
QLayoutwould unexpectedly gain focus.All reactions