This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
张琨
Posted Aug 24 - Read on Facebook

Why a layer is overlay the button already. But I can still click the button?

1 Comments

Derek Nguyen

It seems that all framer generated divs has 'pointer-events' set to 'none' by default? You could reverse this behavior by doing
```
overlay._element.style['pointer-events'] = 'auto'
```
Does anyone know a better way to handle this situation?

Read the entire post on Facebook