-
Notifications
You must be signed in to change notification settings - Fork 746
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 not set on element when right click #482
Comments
Hmm, i see what you mean. Seems the problem is propably this code. It doesn't really click, but finds the target based on the position. I might be able to do that differently so it wont stop there without breaking the code. I'll try and have a look soon. |
Hi, I have a PR up that will fix this issue for contenteditable elements: |
Thanks for making PR available for this. @dbarrett84 think you can have a look if that PR fixes it for you? |
Ya looks good, fixes my issue. |
Merged your PR, thanks! |
Excellent, thanks very much Björn and Rob! |
I have added the context menu on a
table
element within acontenteditable
area.When I right click it shows the correct context menu, BUT the selected element is not updated because the right click has stopped propagation and therefore my options in the menu are being applied to the wrong element.
See for example:
https://jsfiddle.net/dbarrett84/s4j64Lo7/1/
Right click in the column heading and then in caption, cursor doesn't move to the caption it stays in the column heading cell.
The text was updated successfully, but these errors were encountered: