Hey I’m using Slimbox2 in a Website but after opening up the lightbox effect the keyboard is useless.
What I mean is that the keyboard keys don’t respond anymore. Like “F5” does not refresh the page and if I try and input text into some text fields I added dynamically, the text does not appear like normal.
Anyone else encountered this before?
It might also be jCrop that causes this issue.
Anyway that I can prevent this behaviour and restore the normal behaviour?
This is a feature of Slimbox. By default, only the
ESC,XandCkeys are enabled when a lightbox is open, these keys then close an open lightbox.On the link in your OP look for the
closeKeysparameter at the bottom of the page for a description this behaviour. You can provide this parameter an array of keycodes to allow.Personally, that’s an awful feature as it’s very limiting for the user when a lightbox is open – especially disabling the F-keys. I’d use a different lightbox if you can.