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

Ember checkbox is not checked through keyboard #19002

Closed
vamsikrishnabhandari opened this issue Jun 3, 2020 · 8 comments
Closed

Ember checkbox is not checked through keyboard #19002

vamsikrishnabhandari opened this issue Jun 3, 2020 · 8 comments

Comments

@vamsikrishnabhandari
Copy link

vamsikrishnabhandari commented Jun 3, 2020

Hey Team,

Right now i'm facing an issue wherein i need to have keyboard support to select the checkbox. Currently, i'm able to click across the the row wherein checkbox is provided and being clicked with a click event from mouse. But thing is when i try to have keyboard event in place in terms of space button, i see checkbox is not being visually selected as such.

I referred this # #9806 wherein my use case is also similar to this but i'm facing an issue with keyboard event while selecting the checkbox wherein checkbox is not being appeared to be SELECTED though its selected.

I had started using preventDefault=false in parent div and now i see checkbox starts appearing to be visually selected through keyboard event space button but then click event from mouse does not work now. This is proving to be a circus for me. Can you please help me in this regard.

Can you please help me in this regard at the earliest. I do not have any other option left out now.

@vamsikrishnabhandari
Copy link
Author

vamsikrishnabhandari commented Jun 3, 2020

could you please help so that checkboxes appear to be visually selected through keyboard space button. Thanks.

@vamsikrishnabhandari
Copy link
Author

vamsikrishnabhandari commented Jun 3, 2020

Please help me in this regard. The whole problem is checkbox is not visually appearing to be selected through keyboard space button.

@vamsikrishnabhandari
Copy link
Author

vamsikrishnabhandari commented Jun 3, 2020

could you please help me out on this.

@scottmessinger
Copy link

@vamsikrishnabhandari To help debug this, could you put together a reproduction on https://ember-twiddle.com/ or create a repo that reproduces the issue?

@vamsikrishnabhandari
Copy link
Author

@scottmessinger well, i did not had time though to create a sample app as such i thought this could be known issue just like click event.

@locks
Copy link
Contributor

locks commented Jun 3, 2020

@vamsikrishnabhandari mentioning lots of people can be considered rude, please take that in consideration 🙏 .
To follow what @scottmessinger said, without at least a copy paste of the code that you have that is not working, it is very hard to provide help or check if it is a bug in Ember. If you could provide some more context of your situation, or even a sample Twiddle, we could help you!

@MelSumner
Copy link
Contributor

MelSumner commented Aug 19, 2020

I've removed the mentions from the issue as a moderator action.

@vamsikrishnabhandari if this is still an issue that you are facing, please provide a reproduction or some code, so we can verify that it is an issue with Ember.

If you need help figuring out how to implement the checkbox and https://guides.emberjs.com/release/components/built-in-components/ is not working for you, please join the Ember Discord and ask for help in the #help channel.

@locks
Copy link
Contributor

locks commented Dec 2, 2020

Closing due to inactivity. Thanks for reporting.

@locks locks closed this as completed Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants