Form's Toggle show/hide UX
- medhi
- Generous Backer | 255
I've been thinking about forms' toggle UX. Its show/hide behavior is little bit confusing, because it's very easy to miss the showing or hiding part of a form. I would prefer a more UX-friendly effect, like sliding. Goal is to make the user notice, that something was hidden or shown.
What do you think?
- Jan Tvrdík
- Nette guru | 2595
Or you can set Nette.toggle
to custom function which can do
whatever you prefer.
- David Grudl
- Nette Core | 8249
CSS3 transitions requires own Nette.toggle
too. Toggling property display should be changed to toggling class.
- David Grudl
- Nette Core | 8249
What about enhance native Nette.toggle with class names toggling? It can be enabled via:
and styled:
- Jan Tvrdík
- Nette guru | 2595
That seems useful, I'm just not sure if it is wise to base the class name on id.
- Jan Tvrdík
- Nette guru | 2595
@medhi: For now you need to implement different toggle behavior on you own. @David is suggesting that it may be useful to implement support for class toggling directly in the framework.