Ticket #2264 (new feature)
Opened 4 years ago
allow stop propagation on KeyboardDefaults control to prevent browser scrolling
| Reported by: | brentp | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.13 Release |
| Component: | Control.KeyboardDefaults | Version: | SVN |
| Keywords: | Cc: | ||
| State: |
Description
when using the KeyboardDefaults control, if the window is able to scroll, it will when the arrow keys are used for navigation. this patch allows construction of the control with:
var kctrl = new OpenLayers.Control.KeyboardDefaults({stop: true});
which will stop event propagation and prevent browser scrolling during keyboard navigation.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

