tirix / mm-web-ui

A user interface for the Metamath web pages
MIT License
4 stars 0 forks source link

Improve collapsing speed #11

Open tirix opened 6 years ago

tirix commented 6 years ago

Currently, expanding is immediate, but collapsing takes time. This is because each row has a different height, and the javascript animates the "max-height" property. A better solution might be to use the jQuery slideUp function.

tirix commented 6 years ago

Collapsing and expanding now use slideUp and slideDown and are faster to execute, but I'll keep this issue open because even with that, collapsing the last step of a long proof still takes a lot of time on my browser.