Skip to content

Commit

Permalink
@slidy/core - add -webkit-user-select:none rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Valexr committed Aug 30, 2022
1 parent 710b3e1 commit ad84096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/slidy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function slidy(node: HTMLElement, opts?: Partial<Options>): SlidyInstance

mount(node)
.then(() => {
node.style.cssText += 'outline: 0; overflow: hidden; user-select: none;'
node.style.cssText += 'outline:0;overflow:hidden;user-select:none;-webkit-user-select:none;'
node.onwheel = throttle(onWheel, DURATION, CLAMP);

POSITION = $().position();
Expand Down

0 comments on commit ad84096

Please sign in to comment.