Closed tmuelli closed 4 years ago
Well, I got my answer on my own. Apperently the problem was, that I've got an input field in every slide and when it was selected keyboard-control was possible, even though it was on false. When tabbing out of the input field or blur it, keyboard-control was disabled.
That looks pretty strange to me. So I would appreciate, if someone could explain this to me.
Thanks
Well, I got my answer on my own. Apperently the problem was, that I've got an input field in every slide and when it was selected keyboard-control was possible, even though it was on false. When tabbing out of the input field or blur it, keyboard-control was disabled.
That looks pretty strange to me. So I would appreciate, if someone could explain this to me.
Thanks
you cannot override keyboard controls for input. If you want input inside swiper use contentEditable on div instead of input tag.
I've got the problem, that some of the default values inside the swiper tag seem not to work. Especially the keyboardControl value, which is by default false, doesnt work properly. My intention is to disable the navigation with the keyboard arrows.
Here's my sample code:
However it is still possible to navigate with the arrow keys through the different slides. I'm pretty sure I'm missing something.
Thanks for help.