Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

In repeat section, on(clicked) event listener doesn't worked by specific CSS style.

January 11 (1 year ago)
Pro
Sheet Author

Hello, my name is Rotorri, who develops custom sheets as a hobby in Korea.

I'm leaving it here because I found a bug while working on it a few months ago. (Sorry if it's too late)


Problem:

Put one node in the repeating section and change the CSS:position properties of this node, the event caught on the button on the child node will not work.


I organized css & html codes on the my Gist to make it look good.

https://gist.github.com/rotorri/4655f5e3d2f9aa84136cced8e2a1e0bc


Caught Setup:

- OS : Win 11

- Chrome (Latest) 120.0.6099.217 (64bit)

- FireFox (Latest121.0.1 (64bit)

- Whale (Latest) 3.24.223.18 (64bit)

I've just noticed it in these three browsers, but since it's a bug I discovered when I worked on it a few months ago, I expect this to happen in a much earlier browser version as well.

January 11 (1 year ago)
vÍnce
Pro
Sheet Author

Hi Rotorri,
I believe this is a little known bug with action buttons in repeating sections;
https://wiki.roll20.net/Character_Sheet_Development/Bugs_%26_Quirks#Repeating_Sections


January 11 (1 year ago)
Pro
Sheet Author

@vÍnce

Ahh, ok, In  this  discussion, Scott seems to have sorted it out. Thank you for your response!