Skip to content

Conversation

amje
Copy link
Contributor

@amje amje commented Mar 28, 2017

Hi,

Currently, setting visibility: hidden on ghost element not guarantees its hiding. According to spec, descendants will be visible if they have visibility: visible. So additional opacity: 0 should fix this.

Copy link
Owner

@clauderic clauderic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @amje, thanks for submitting this!

Just one thing, you're currently overwriting the node.style property, you'll have to assign to the node.style.visibility and node.style.opacity properties directly instead.

@amje
Copy link
Contributor Author

amje commented Apr 5, 2017

@clauderic done

@clauderic clauderic merged commit ae0dd23 into clauderic:master Apr 5, 2017
@amje amje deleted the ghost-visibility branch April 5, 2017 13:08
DimitarNestorov pushed a commit to codemotionapps/react-sortable-hoc that referenced this pull request Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants