- Multiple spoilers in one post sometimes only open one spoiler. Note: May be iOS related?
Known Bugs
- Juneberry
- Site Admin
- Posts: 1669
- Joined: Sat Jun 22, 2019 3:06 pm
- Location: New Jersey
- Has thanked: 4 times
- Been thanked: 8 times
- Age: 32
Known Bugs
word count: 15
- Spook of the lost
- Member
- Posts: 562
- Joined: Wed Jul 24, 2019 5:18 pm
- Location: Tycho City, Tycho Crater, Luna.
- Been thanked: 1 time
- Age: 32
- Contact:
can confirm, happens on other devices.
maybe they're registering to the same point in the code rather than having independent ID's so to separate them?
I'm not sure how the spoiler code is setup on your forum but I had the same issue when setting up drop down menus on my site and it was fairly easy to go in and fix.
maybe they're registering to the same point in the code rather than having independent ID's so to separate them?
I'm not sure how the spoiler code is setup on your forum but I had the same issue when setting up drop down menus on my site and it was fairly easy to go in and fix.
word count: 65
"He who fights with monsters should look to it that he himself does not become a monster. And when you gaze long into an abyss the abyss also gazes into you." - Friedrich Nietzsche
- Spook of the lost
- Member
- Posts: 562
- Joined: Wed Jul 24, 2019 5:18 pm
- Location: Tycho City, Tycho Crater, Luna.
- Been thanked: 1 time
- Age: 32
- Contact:
maybe showing an example might help?
<div class="wrap-collabsible">
<input id="collapsible#" class="toggle" type="checkbox">
<label for="collapsible#" class="lbl-toggle" id="blog">Title</label>
<div class="collapsible-content">
<div class="textbox">
text
</div>
</div>
</div>
so where it says Collapsible# that's the name of the graphical element on the page, I've underlined it and put it in bold to highlight it.
if I leave it as is on every post, it treats all boxes as the same one, so if you click any of them it opens the one at the top of the list because it defaults to the one with the lowest number in the programming code.
similar to your own spoiler code issue.
however if that code randomly generated a number or sequentially numbered each spoiler in a post.
then it should treat them as separate entities.
for me I do it manually by replacing Collapsible# with the name of the post.
hopefully that clarifies things a bit.
funny thing is most forum software should do this automatically rather than behaving like this.
<div class="wrap-collabsible">
<input id="collapsible#" class="toggle" type="checkbox">
<label for="collapsible#" class="lbl-toggle" id="blog">Title</label>
<div class="collapsible-content">
<div class="textbox">
text
</div>
</div>
</div>
so where it says Collapsible# that's the name of the graphical element on the page, I've underlined it and put it in bold to highlight it.
if I leave it as is on every post, it treats all boxes as the same one, so if you click any of them it opens the one at the top of the list because it defaults to the one with the lowest number in the programming code.
similar to your own spoiler code issue.
however if that code randomly generated a number or sequentially numbered each spoiler in a post.
then it should treat them as separate entities.
for me I do it manually by replacing Collapsible# with the name of the post.
hopefully that clarifies things a bit.
funny thing is most forum software should do this automatically rather than behaving like this.
word count: 181
"He who fights with monsters should look to it that he himself does not become a monster. And when you gaze long into an abyss the abyss also gazes into you." - Friedrich Nietzsche
- Darth-Apple
- Member
- Posts: 25
- Joined: Thu Mar 19, 2020 6:48 pm
@Leo is exactly correct here. The browser doesn't know which one to collapse because they are all technically named the same thing, hence the issue.
Which plugin are you using?
Which plugin are you using?
word count: 31
Makestation Forums - Creative arts community
Saturn-Moon.com - A modern day time capsule (under construction)
Saturn-Moon.com - A modern day time capsule (under construction)