Skip to content

Avoid unnecessary animation, particularly on page load (CO-2330) #43

merged 1 commit into from Oct 27, 2022

Conversation

arlen
Copy link
Contributor

@arlen arlen commented Sep 9, 2022

This PR solves the problem in CO-2330 by simply removing duration for hide() and show(). Whenever possible, making these functions instantaneous feels snappier and more responsive. All forms to which these these functions are applied are small, so there is little benefit to animation. It's clear without it what's appearing and vanishing.

There is an existing comment in app/templates/RuleAttributes/fields.inc (removed in this PR) that notes that this approach looks better too. :-)

@benno benno merged commit 4f071af into COmanage:develop Oct 27, 2022
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
2 participants