liqvidjs / liqvid

Library for interactive videos in React
https://liqvidjs.org
MIT License
754 stars 39 forks source link

Document the hiding method #4

Closed ysulyma closed 4 years ago

ysulyma commented 5 years ago

Explain why we use opacity: 0; pointer-events: none; instead of visibility: hidden;.

ysulyma commented 4 years ago

It's because with visibility:hidden, an invisible element can have visible children.