"dojox/mobile/TextBox" pans map using keyboard 10key

1074
1
Jump to solution
11-18-2014 02:28 PM
PatrickWild3
New Contributor III

Wondering if anyone else has seen this strange issue:

I have a dojox/mobile/TextBox that is the input for a query task.

When I use my keyboard ten key, the map pans; the only values that will populate are 0 and 5, the others will pan the map in the logical direction of the key (i.e. 3 pans southeast). This happens if NumLock is on or off.

The top keyboard numbers seem to function as expected.

Any ideas appreciated,

PW

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Patrick,

  Have you tried disabling keyboard navigation on the map when the textbox has focus and re-enabling when focus is lost?

map.disableKeyboardNavigation();

View solution in original post

1 Reply
RobertScheitlin__GISP
MVP Emeritus

Patrick,

  Have you tried disabling keyboard navigation on the map when the textbox has focus and re-enabling when focus is lost?

map.disableKeyboardNavigation();