Originally Posted by Baertram
I tried this zo_callLater workaround with 500ms. It is annoying as the filters won#t update after the click, but half a second later.
|
Just change it to like 100ms or less even would probably work, I shouldn't have put 500 on there. I should have changed it to a lower number before I posted that code. I wasn't looking for an optimal setting I was just messing around making sure I put a big enough number in there to see if it helped and it did. A lot.
Edit:
I just tested it again with 50ms and it was still plenty long enough that the UpdateFilteredList() only got called once while switching tabs. Heck I took it all the way down to 1ms and it still seemed to filter just fine only calling UpdateFilteredList once. Going that low though of course is not necessary & probably not a good idea.