question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handle flickers in Safari when using set() after dragging

See original GitHub issue

My goal is to have a smooth slider that only has a couple of steps. I am accomplishing this by:

  1. Setting a handler for the end event.
  2. In that handler, round the value to the desired value and calling slider.set().

When doing this on Safari, the handle disappears until the animation is done.

I am using Safari 12.0.1 on macOS Mojave 10.14.1. This also occurs in Safari Technology Preview Release 68. I do not have a iOS device, so I am not sure if the issue occurs there as well.

I have attached an example of this issue. example.zip

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
leongersencommented, Mar 12, 2019

Setting the following on resolves the issue for me in BrowserStack:

.noUi-target, .noUi-target * {
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
}

@VlkaFenryka, if you can confirm this I’ll ship this as a new release.

1reaction
VlkaFenrykacommented, Mar 13, 2019

Setting the following on resolves the issue for me in BrowserStack:

.noUi-target, .noUi-target * {
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
}

@VlkaFenryka, if you can confirm this I’ll ship this as a new release.

@leongersen Confirmation This solves the problem,

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flickering in Safari - Apple Community
I have a MacBook Pro Mid 2010. It doesn't do it on any other app but Safari. The flickering is intermittent based on...
Read more >
jquery - 'dragleave' of parent element fires when dragging ...
If your 'dragenter' is firing when you don't want it to (i.e. when it's entering after leaving child elements), then the last time...
Read more >
Dealing with flickers/FOUC
Loading issues can cause a FOUC (flash of unstyled content). Several specific reasons can explain this. First of all, this can be due...
Read more >
MacBook Pro screen flickering? Here's how to fix it
Go to Apple menu > System Preferences > Battery. · Click the Battery option on the left side of the window. · You'll...
Read more >
Cross Browser HTML5 Drag and Drop
observe() or whatever you favourite framework provides for event handling. Developers can also use the old school inline events (i.e. <a href="# ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found