You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an editor for a textbox widget (CurrencyTextBox in my case), the selectOnClick functionality is being prevented in editor.js due to the following code:
// XXX: stop mousedown propagation to prevent confusing Keyboard mixin logic// with certain widgets; perhaps revising KB's `handledEvent` would be better.on(node,"mousedown",function(evt){evt.stopPropagation();});
We've discovered that bypassing this code when the widget has selectOnClick allows the textbox selection to work as expected.
I have not been able to figure out a workaround for this, but would appreciate any suggestions.
The text was updated successfully, but these errors were encountered:
I was going to add an after advice that emitted a "mousdown" event to the editor's createEditor function as workaround but it's private so I'm not sure how to get to it from the outside. Any suggestions?
edhager
added a commit
to edhager/dgrid
that referenced
this issue
Oct 11, 2013
When using an editor for a textbox widget (CurrencyTextBox in my case), the selectOnClick functionality is being prevented in editor.js due to the following code:
We've discovered that bypassing this code when the widget has selectOnClick allows the textbox selection to work as expected.
I have not been able to figure out a workaround for this, but would appreciate any suggestions.
The text was updated successfully, but these errors were encountered: