Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus event problem #2

Open
phansson opened this issue Aug 20, 2016 · 0 comments
Open

Focus event problem #2

phansson opened this issue Aug 20, 2016 · 0 comments

Comments

@phansson
Copy link

2016-08-20 17_34_55-mozilla firefox

From the screenshot I hope you can see the problem: Just like the context-menu add-on there's a focus event problem. In the screenshot I click row5 yet the first row, first cell gets a focus border as a result of my click on row5. This is very confusing for the user as it will create confusion as to what was actually clicked. One solution for this is to turn off focus style for the Grid. But I really believe it should be solved in the add-on. With the context-menu add-on I remember there was some discussion amongst Vaadin employees whether a right-click should fire a focus event to the cell that was clicked. Possibly debatable although I would personally say yes. For a left-click I don't think there can be any debate: the cell focus should move to the cell that was clicked. It should certainly not appear on a totally different cell.

I realize that this is probably a more fundamental problem with the Grid and likely can't be solved in an add-on. Still, I believe it is better to have problem logged here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant