mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Enable useCapture for event listener to improve compatibility with React
This commit is contained in:
parent
8d32979cd9
commit
fa1630185b
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ module Capybara
|
|||
this.removeEventListener('click', file_catcher);
|
||||
e.preventDefault();
|
||||
}
|
||||
})
|
||||
}, {capture: true})
|
||||
JS
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue