Buttons that used to respond to Events no longer work. In the picture I show that Framer recognizes the physical button on the prototype, and the highlighted code is a simple listener I attached to it. It won't print the line.
If you share your prototype I will take a look
Might be something wrong with the indentation?
I'm pretty sure the indentation is right - the same syntax works for other buttons, just not this particular one!
Jonas Treub: Here it is, it's quite a large project and the buggy code is near the bottom. Clicking on the "Drafts" tab leads to you where largeButton is. http://share.framerjs.com/hxmj0r5koy5p/
Maybe something else is blocking it?
What does that mean? Like another listener? The button is inside a ScrollContent, but other buttons in similar situations work just fine
Using the following code you can print the layerNames of the layers you click. Your navBar seems to block the button.
context = Framer.CurrentContext.getLayers()for layer in context[tab]layer.on Events.Click, ->[tab][tab]print @name
Thank you I fixed it! But I don't quite understand how the test code works. I added that code to the bottom, but it prints empty string wherever I click, and deactivates all other clickable areas.