Opened 11 years ago

Closed 11 years ago

#659 closed defect (fixed)

Typing in diary form makes map move around

Reported by: osm@… Owned by: Tom Hughes
Priority: major Milestone:
Component: website Version:
Keywords: Cc:

Description

If you start the map, then start typing in the diary form, the map will move around and zoom in and out as you type. This is slightly strange.

k/+ = zoom in m/- = zoom out ' = go east # = go east a lot

Change History (3)

comment:1 Changed 11 years ago by Tom Hughes

It's not just the diary form - any typing in a window with a map does it. OpenLayers? seems to grab all keypresses in the whole window rather than just ones over the map. I'm not sure there is much I can do about it other than turning off keyboard control for OpenLayers?.

comment:2 Changed 11 years ago by osm@…

See http://trac.openlayers.org/ticket/1027 . It suggests that switching off keyboard control is the only way. Why was keyboard control enabled?

comment:3 Changed 11 years ago by tomhughes

Resolution: fixed
Status: newclosed

(In [6770]) Disable keyboard control of the map as it causes problems by catching keypresses in other parts of the page. Closes #659.

Note: See TracTickets for help on using tickets.