-
Notifications
You must be signed in to change notification settings - Fork 85
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 on element after click #237
Comments
Hi! I don’t completely understand the issue? The dropdown is supposed to open when you click the input, so the behavior is expected for the left button click. For right clicking, perhaps we should open the dropdown from that as well, but I’m not sure. |
I have the issue with loss focus after click for enable writing to input element. |
Tested on a Surface Pro running Chrome 50 and Windows 10, and combo-box does not focus on left click. Right click does focus. Tapping with a finger does focus. Firefox and Edge work normally also with a mouse. On a Windows 10 VM and Chrome 50 mouse works normally, so to me it seems to be a touch device issue. @JosefJezek do you happen to have a MS Surface or a laptop with a touch screen? |
@Saulis Yes, I have Dell notebook with touch screen. |
Fix focus in MS touchscreen devices, fixes #237
I have issue with focus on the element after click with left button, right button is ok.
I have Chrome Version 50.0.2661.94 m on Windows 10 64b. I tested this issue in incognito window.
First click is left button and second click is right button.
After remove
on-down="_preventDefault"
frompaper-input-container
element is focus ok after click left button.https://github.com/vaadin/vaadin-combo-box/blob/master/vaadin-combo-box.html#L148
The text was updated successfully, but these errors were encountered: