For Loop Hover Issue

Hi, I'm trying to make a time selector using for loops, and I'm having the same issue with both the hour dial and the minute dial where the last item in the loop won't fully register the mouse over event(as seen in one pic) until the element is moused over a 2nd time, at which point the header does change(as seen in the 2nd pic). The 2nd issue with the minute dial is the (0, 1) divs are not mousing over unless at the very top of the div. I've attached the HTML and JS minute loop. Does anyone know what is causing this or how I could go about fixing it?
4 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Ævie
ÆvieOP3y ago
it doesn't
MarkBoots
MarkBoots3y ago
can you please make a codepen so we can see it in action (https://pen.new)
CodePen
...
Ævie
ÆvieOP3y ago
I've never used codepen before, let me know if I did this right, I got it functioning enough to see the issues with loops https://codepen.io/General-Evie/pen/abKddYV
Want results from more Discord servers?
Add your server