Atelaes / Mynda

An electron based media library
0 stars 0 forks source link

MynOverflowTextMarquee does not work inside of MynParagraphFolder #64

Open JohnMTorgerson opened 3 years ago

JohnMTorgerson commented 3 years ago

Because the element doesn't really exist until the user expands the folded paragraph, MynOverflowTextMarquee doesn't register an overflow to create a marquee for. We need some way for it to call its initialize function once the user clicks to expand.

Ideally, we'd come up with some kind of generalized solution to this problem so that whenever an element changes size or appearance in some way, the marquee adjusts. I did just add an event listener for window resizing, which solves that problem, but not this one.