mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 07:37:27 +02:00
Carousel - Do not prevent on keydown for input and textarea
This commit is contained in:
@@ -229,11 +229,10 @@ const Carousel = (($) => {
|
||||
}
|
||||
|
||||
_keydown(event) {
|
||||
event.preventDefault()
|
||||
|
||||
if (/input|textarea/i.test(event.target.tagName)) {
|
||||
return
|
||||
}
|
||||
event.preventDefault()
|
||||
|
||||
switch (event.which) {
|
||||
case 37: this.prev(); break
|
||||
|
Reference in New Issue
Block a user