Closed erinsasha closed 8 years ago
hi, dont understand what you mean. can you please explain another time in different way? focus what?
On Tue, Nov 3, 2015 at 8:44 PM, erinsasha notifications@github.com wrote:
Hello Max!
I’ve noticed that Unitgallery catches left/right arrow key pressing events and stops their propagation. So when focus in a , user can switch between rows by pressing up/down arrow key, but he/she can’t move cursor to left or right.
Can you add some option, which will tell for plugin: catch left/right arrow key pressing events only, if Unitgallery element has :hover or :focus sate or some sort of that?— Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/40.
Sorry it seems in my previous message the word “textarea” was hidden because it was wrapped as a tag. Also :hover or :focus in the message are CSS or jQuery selectors http://www.w3schools.com/cssref/css_selectors.asp. I mean that the plugin must catch keyboard events only when a user works with a gallery. For example, if you add textarea element into your …/source/index.html, it will not allow you left/right movement of the cursor.
HI. The gallery can't catch events from inside textarea, sorry. No plugin can.
On Wed, Nov 4, 2015 at 2:43 PM, erinsasha notifications@github.com wrote:
Sorry it seems in my previous message the word “textarea” was hidden because it was wrapped as a tag. Also :hover or :focus in the message are CSS or jQuery selectors http://www.w3schools.com/cssref/css_selectors.asp. I mean that the plugin must catch keyboard events only when a user works with a gallery. For example, if you add textarea element into your …/source/index.html, it will not allow you left/right movement of the cursor.
— Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/40#issuecomment-153709389.
Hi, Now I'm understand what you mean. Fixed the bug in current release. Please check.
It works. Thank you!
Cool! Good luck!
On Thu, Nov 5, 2015 at 12:06 PM, erinsasha notifications@github.com wrote:
It works. Thank you!
— Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/40#issuecomment-154014579.
Hello Max!
I’ve noticed that Unitgallery catches left/right arrow key pressing events and stops their propagation. So when focus is in a textarea, the user can switch between rows by pressing up/down arrow key, but he/she can’t move cursor to left or right. Can you add some option, which will tell the plugin: catch left/right arrow key pressing events only, if Unitgallery element has :hover or :focus state or some sort of that?