-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Disabled Grid allows focusing cells using keyboard #1831
Comments
NOTE: the |
Changed the title to refer to cell focus rather than selection, as selection is correctly disabled, but cell focus works normally (both with mouse and keyboard, although only the latter has a visual indication). Question is: Should cell focus, or indeed all focus, be disabled when the Grid is disabled? |
Related: col sort arrows are togglable in disabled grid (sorting doesn't happen, but the arrow states change) #1555 |
Ping @jouni @tomivirkki for comments. |
Grid shouldn't have I'd be in favor of first designing how In case |
I guess disabled makes sense to Flow Grid because of the Editor: grid-disabled.mp4 |
If it's only required for the editor (another Flow-only feature), there could be a dedicated API for disabling/enabling the editor. |
Created a separate ticket for implementing a proper disabled state in vaadin-grid. Closing this in favor of that. |
Description
A disabled Grid doesn't allow selecting items using pointing devices, but it is possible to select an item (at least visually) using keyboard.
Expected outcome
Selection should be fully disabled.
Actual outcome
Selection is possible using keyboard.
Minimal reproducible example
Environment
Browsers Affected
The text was updated successfully, but these errors were encountered: