mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 11:42:05 +00:00
Revert "delete: unnecessary nativeEvent"
This reverts commit f49be71bb5.
This commit is contained in:
parent
f49be71bb5
commit
95e33666bd
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ const MetaItem = React.memo(({ className, type, name, poster, posterShape, poste
|
||||||
}, [props.onClick]);
|
}, [props.onClick]);
|
||||||
const menuOnClick = React.useCallback((event) => {
|
const menuOnClick = React.useCallback((event) => {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
event.nativeEvent.selectPrevented = true;
|
||||||
}, []);
|
}, []);
|
||||||
const menuOnSelect = React.useCallback((event) => {
|
const menuOnSelect = React.useCallback((event) => {
|
||||||
if (typeof optionOnSelect === 'function') {
|
if (typeof optionOnSelect === 'function') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue