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

[SOLVED!] Action button inside a table, inside a repeating section not working / being activated

1661424717
Peter B.
Plus
Sheet Author
Great news! If anyone have had this problem, that they want to place an action button inside a table cell inside a repeating section, and realised that the action button no longer triggers, then this is the solution for you! Here is the magical CSS that fixes this problem! div.repcontainer:not(.editmode) div.repitem td button[type="action"], div.repcontainer:not(.editmode) div.repitem th button[type="action"] { position: relative; } For some reason, setting an action buttons position to be relative, makes it activate correctly. Note that I have added a :not(.editmode)  to the CSS. This is because, if the button has position relative, while your are editing a repeating section, then the button is placed above the move and the delete button. As for visuals this does not change anything about how the button is presented, as long as the button is the only element inside the cell. Disclaimer For all the Flex box and Grid crusaders: Yes I know , we are not suppose to use tables, but some older sheets use them and might suffer from this problem.
1661458338
vÍnce
Pro
Sheet Author
Thanks Peter.&nbsp; Is this any different than the workaround on the wiki? <a href="https://wiki.roll20.net/Character_Sheet_Development/Bugs_%26_Quirks#Repeating_Sections" rel="nofollow">https://wiki.roll20.net/Character_Sheet_Development/Bugs_%26_Quirks#Repeating_Sections</a>
1661534201
Peter B.
Plus
Sheet Author
vÍnce said: Thanks Peter.&nbsp; Is this any different than the workaround on the wiki? <a href="https://wiki.roll20.net/Character_Sheet_Development/Bugs_%26_Quirks#Repeating_Sections" rel="nofollow">https://wiki.roll20.net/Character_Sheet_Development/Bugs_%26_Quirks#Repeating_Sections</a> Nope! I just thought I would let the World know, because I realized that it is The minority that either reads the forum or Are active on the discord.&nbsp; I updated the wiki myself, så the information should be the same :)&nbsp;
1661537873
vÍnce
Pro
Sheet Author
Thanks Peter.&nbsp; I was asking because I was going to update the wiki as well. ;-P