Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
explain limitation of focus wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
valdrinkoshi committed Jun 21, 2016
1 parent 2e22be6 commit c0e45fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion iron-overlay-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
must ensure no element has a stacking context with a higher `z-index` than its parent stacking
context. You should place this element as a child of `<body>` whenever possible.
Focus wrapping is limited to content in the light DOM (see [`withBackdrop`](#Polymer.IronOverlayBehavior:property-withBackdrop)).
First and last focusables are computed on opening, so ensure to set any focus related
properties (e.g. `tabindex` or `disabled` attributes) before opening the overlay.
@demo demo/index.html
@polymerBehavior Polymer.IronOverlayBehavior
*/
Expand Down Expand Up @@ -81,7 +85,8 @@
},

/**
* Set to true to display a backdrop behind the overlay.
* Set to true to display a backdrop behind the overlay. It traps the focus
* within the light DOM of the overlay.
*/
withBackdrop: {
observer: '_withBackdropChanged',
Expand Down

0 comments on commit c0e45fe

Please sign in to comment.