Forums

Posting in these forums is disabled. These forums will be available for archive purposes. Please join the new forums at the links below:

  • yui-support - replaces the `YUI 3.x` and `YUI 3 Gallery` forums.
    We have created the following discussion categories within this group to aid discoverability for these most-used topics:
    • Charts for YUI Charts support.
    • DataTable for YUI DataTable support.
    • Gallery for YUI Gallery support, including support for published Gallery components as well as the Gallery process in general.
    • Tools for support of YUI’s suite of developer tools such as selleck, shifter, grover, yogi, etc.
    • Everything Else for questions that don’t fit one of the categories above, we’ve got you covered here.
  • yui-deprecated - replaces the `YUI 2.x` forum and the forums of other deprecated products (`YUI Doc`, `Builder`, `YUI PHP Loader`, etc.).
  [ 5 posts ]
New Topic | Post Reply | Print view
Previous topic | Next topic

Anthony Pipkin

YUI Developer

  • Username: apipkin
  • Joined: Tue Nov 10, 2009 9:34 am
  • Posts: 69
  • Location: Atlanta, GA
  • Twitter: apipkin
  • GitHub: apipkin
  • Gists: apipkin
  • IRC: apipkin
  • YUI Developer
  • Offline
  • Profile
Tags:
  • event
  • feature
  • autohide
  • escape

Feature request

Post Posted: Wed May 12, 2010 2:17 pm
Is it possible to add escape as a key press event to trigger the auto hide? It would be great if these were uncoupled from each other so that one could add escape autohide without having the lose focus autohide enabled.

Eric Ferraiuolo

YUI Developer

  • Username: ericf
  • Joined: Mon Jan 12, 2009 8:26 pm
  • Posts: 380
  • Location: Boston, MA
  • Twitter: ericf
  • GitHub: ericf
  • Gists: ericf
  • IRC: eric_f
  • YUI Developer
  • Offline
  • Profile

Re: Feature request

Post Posted: Thu May 13, 2010 9:06 am
Are you thinking: add a feature to the Autohide plugin to hide on escape keypress, and also make configurable via ATTRS which events: escape keypress, focusoutside, clickoutside are enabled that will cause the Overlay to hide itself?

Anthony Pipkin

YUI Developer

  • Username: apipkin
  • Joined: Tue Nov 10, 2009 9:34 am
  • Posts: 69
  • Location: Atlanta, GA
  • Twitter: apipkin
  • GitHub: apipkin
  • Gists: apipkin
  • IRC: apipkin
  • YUI Developer
  • Offline
  • Profile

Re: Feature request

Post Posted: Thu May 13, 2010 9:09 am
I was thinking more as a separate plugin, but making the existing autohide plugin configurable maybe worth it as well.

I'm a fan of minimal code so plugging in a new plugin will be less code, while a configuration will provide more power.

Eric Ferraiuolo

YUI Developer

  • Username: ericf
  • Joined: Mon Jan 12, 2009 8:26 pm
  • Posts: 380
  • Location: Boston, MA
  • Twitter: ericf
  • GitHub: ericf
  • Gists: ericf
  • IRC: eric_f
  • YUI Developer
  • Offline
  • Profile

Re: Feature request

Post Posted: Fri May 21, 2010 11:33 pm
So I imagine these being simple boolean config attrs, so it will be less code to keep it all in one Plugin and I'll have the three auto-hide options enabled by default.

Eric Ferraiuolo

YUI Developer

  • Username: ericf
  • Joined: Mon Jan 12, 2009 8:26 pm
  • Posts: 380
  • Location: Boston, MA
  • Twitter: ericf
  • GitHub: ericf
  • Gists: ericf
  • IRC: eric_f
  • YUI Developer
  • Offline
  • Profile

Re: Feature request

Post Posted: Sat May 22, 2010 1:02 am
I committed a change to add support for escape-press. I also made the attrs configurable. Not super psyched about how I named them, let me know if you have any ideas on attr names.

clickedOutside, focusedOutside, pressedEscape are the ATTRS

http://github.com/ericf/yui3-gallery/co ... c7eb3d1891
  [ 5 posts ]
New Topic | Post Reply | Print view
Previous topic | Next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum