Hi.

In further testing and use of the tray, I found a few other issues.

If you click on an entry in the tray to open its block, then click again to close it, the .tray-item-active class is not removed.
This also applies to the minimise button.
Finally, clicking 'close' invokes fadeOut rather than slideToggle, inconsistently.

The attached patch corrects all of these issues.

CommentFileSizeAuthor
tray-click.patch1.32 KBnigelcunningham

Comments

shadcn’s picture

Actually, it is meant to work like this. when you minimize an item, it is still active (selected). Unless you close an item or select another one, the item remains active.

Also, we've used a fadeout instead of slideToggle to differentiate between a minimize action and a close action.

nigelcunningham’s picture

Is there some difference between minimise and close that I've missed?

Thanks for the reply!

Nigel

shadcn’s picture

When you minimise an item, the item is still active (still selected) and you see the SlideDown effect. When you close an item (fadeOut), it loses the active class and is no more selected. (Think Windows and Gnome - its built to work like these)

shadcn’s picture

Status: Needs review » Closed (fixed)