I tried to use event.preventDefault on the click handler but that didn't work. So instead I'm using css 'pointer-events: none' to disable click events on the player while the player is being dragged. https://github.com/OdyseeTeam/odysee-frontend/issues/206 Co-authored-by: maxime peabody <maximepeabody@gmail.com>
This commit is contained in:
parent
474782eeb0
commit
13a9f5035d
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
|||
top: var(--spacing-s);
|
||||
}
|
||||
|
||||
.content__viewer--disable-click {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.content__viewer--inline {
|
||||
max-height: var(--inline-player-max-height);
|
||||
border: none;
|
||||
|
|
Loading…
Reference in a new issue