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.

Selection area is invisible after update to 1.4.0

See original GitHub issue

Do you want to request a feature or report a bug?

a bug

What is the current behavior?

After updating Selection to any version, greater then 0.1.4, I do not see the selection area on selection.

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

It is quite difficult to extract the page I’m using Selection on out of the whole project.

But it seems to me that change is behaviour is caused by the that._clippingElement added after 0.1.4

How it worked before (v0.1.0): 2019-04-16 13 48 16

How it works now (v0.1.5, same on 0.2.1): 2019-04-16 13 47 35

Are there any restrictions on the style of html/body tags?

Your environment:

Selection-version: 0.1.5
Browser-version:  Chrome Version 73.0.3683.103
Operating-system:  macOS Mojave 10.14.4

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
Simonwepcommented, Apr 16, 2019

Well, thank you for providing this demo and great communication to find it 😃 I found the problem, the clipping area don’t have any z-index property, so the applied z-index on the selection-area element don’t even take effect. After adding z-index: 1 to the clipping element it works.

Until I published a new version (will be very soon since this looks like a serious bug to me) you can use this piece of code in your selectionjs config to fix this:

onStart({selection}) {
        selection._clippingElement.style.zIndex = 1;
}
2reactions
Simonwepcommented, Apr 27, 2019

@dsechin Thought I’ll inform you I published v0.2.2 where this fix takes action 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Cycle: Frontier 1.4.0 Update Patch Notes - The Nerd Stash
Fixed an issue where backpacks couldn't be moved to the stash despite the latter not being full. Prospectors on the character selection screen ......
Read more >
Changelog - v1.4.0.0 - Celeste
Fixed PICO-8 Celeste update-loop inconsistency from the original PICO-8 version; Fixed the bird in Farewell flinging you a slightly inconsistent distance after ......
Read more >
ANTHEM 1.4.0 Changes Overview and Patch Notes
Update 1.4.0 brings some valuable and interesting changes and fixes to the game and Cataclysm. In this article I will go over the...
Read more >
Version History - A.O.M. Support (en)
[Invisible Limiter G2] Update outdated tooltip text. ... [Tau Compressor Plus] Plugin now can be bypassed by clicking VU meter area. Improvements.
Read more >
Update Notes - CaptureAge
Add small alert for when a new notification arrives while viewing old ... to how many units in your selection can reach the...
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