Skip to content
This repository was archived by the owner on Feb 26, 2019. It is now read-only.

Fix z-index switching when element is deselected #41

Open
timseverien opened this issue Sep 28, 2016 · 0 comments
Open

Fix z-index switching when element is deselected #41

timseverien opened this issue Sep 28, 2016 · 0 comments
Labels

Comments

@timseverien
Copy link
Owner

timseverien commented Sep 28, 2016

Reproduce

  1. Have two tags sit near each other
  2. Activate one
  3. Quickly activate the other
  4. Quickly move mouse to another position, deactivating all

The z-index works just fine, but when all tags are deselected, the z-index is reset, causing the z-order of elements to respect DOM-order, in turn possibly causing flickering.

Solution

Make sure the z-index sticks until the element is hidden.

@timseverien timseverien changed the title Fix z-index of active element Fix z-index switching when element is deselected Sep 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant