Request for adding a delay to the pm:menu

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

04 Dec 2017, 19:46

You very often move the mouse to the left of the screen, overshoot the control you'd like go to, hit the menu, go a little to the right, the correct place but never the less the menu pops out. Adding an option for a small (configurable) delay would prevent this. My businesspartner now by default opens the menu and makes it fixed in the open position to not have this behaviour.

Cheers (still love the theme)

User avatar
w00f
Posts: 307
Joined: 27 Apr 2016, 13:27
Contact:

25 Dec 2017, 20:08

Hello,

You want this delay for closing behavior for the menu, right? If it is the case we can add this for the next release. It'll improve the user experience as you stated. Noted.

Thank you!
Best regards,

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

27 Dec 2017, 15:16

Added closeDelay attribute to Serenity Menu.

closeDelay -> Delay to wait in milliseconds before closing menu on mouse leave. Default is 250.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

02 Jan 2018, 14:07

Ahhhh, sorry for the delayed response. No, not a close delay, an open delay... It opens too quickly if you by accident hover over it (and that happens a lot, at least in our case, but for me in the serenity demo/showcase too, all themes btw)

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

03 Jan 2018, 07:57

Please try;

Code: Select all

body .layout-wrapper .layout-sidebar {
    -moz-transition: left 0.8s;
    -o-transition: left 0.8s;
    -webkit-transition: left 0.8s;
    transition: left 0.8s;
}
Default transition time is 0.3s. You can change the values of the above transition.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

09 Jan 2018, 16:08

Oh... cool stupid me, never thought about that and (never looked at the source either... SORRY) ... Will try tonight...

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

18 Jan 2018, 14:30

No problem ;)

Regards,

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

22 Jan 2018, 11:37

You were close... But it should (at least for me) be the transition delay:

Code: Select all

body .layout-wrapper .layout-sidebar {
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;  
}

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

08 Feb 2018, 15:50

Thanks a lot for the update!

Regards,

Post Reply

Return to “Serenity - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests