NordMagnus / Trello-Folds

MIT License
19 stars 4 forks source link

Sometimes sections not parsed #11

Closed NordMagnus closed 5 years ago

NordMagnus commented 6 years ago

Sometimes sections are not parsed correctly when board is loaded. Intermittent. No error messages.

image

NordMagnus commented 6 years ago

Happens when board switched from Trello menu.

Works when adding a timeout before calling formatAsSection like this:


                // self.formatAsSection($(this));
                setTimeout(() => {
                    self.formatAsSection($(this));
                }, 100);
            });```
NordMagnus commented 5 years ago

Replaced with requestAnimationFrame()