[Dojo-interest] dijit.InlineEditBox

Deno Vichas deno at vichasconsulting.com
Tue Apr 9 21:07:33 EDT 2013


i think there might be a bug in the toolkit.   try this -

- goto 
http://dojotoolkit.org/reference-guide/1.8/dijit/_OnDijitClickMixin.html#dijit-ondijitclickmixin
- make your browser window short enough that the whole page doesn't fit.
- run the demo
- click in the middle of the dialog
- press the space bar

i'm seeing the window behind the dialog scroll down.  i expect the 
window behind not to response to any input while the dialog is open.

also i'm seeing focus on the 'X' to close the window when i first open 
the dialog (in FF).  this results in the the dialog closing if you hit 
the space bar.




On 4/2/2013 9:52 PM, Bill Keese wrote:
> I meant to use on() to trap all keypress and/or keydown events on the 
> InlineEditBox (when in view mode, not when in edit mode) and do a 
> preventDefault.
>
> On Wed, Apr 3, 2013 at 11:18 AM, Deno Vichas 
> <deno at vichasconsulting.com <mailto:deno at vichasconsulting.com>> wrote:
>
>     i'm seeing this problem in both FF and Chrome.  and yes, it's a a
>     bit weird.  could it be due to the elements being inside a DnD
>     container that's inside a contentPane?
>
>     are you suggestion i use an on() to trap all enter key presses? 
>     or can i trap it in the onChange for the InlineEditBox?
>
>
>     thanks,
>     deno
>
>
>
>     On 4/2/2013 1:13 AM, Bill Keese wrote:
>>     My guess is that you need to call evt.preventDefault() on that
>>     keydown event (or maybe keypress).   Not sure why you have the
>>     problem though and it doesn't reproduce for me. Likely browser
>>     specific.
>>
>>     On Mon, Apr 1, 2013 at 2:14 PM, Deno Vichas
>>     <deno at vichasconsulting.com <mailto:deno at vichasconsulting.com>> wrote:
>>
>>         all,
>>
>>         I'm having the problem that when a user hits enter to save
>>         the changes with a InlineEditBox using a TextBoxthat it
>>         scrolls my content pane to the top.  if the user tabs out
>>         from the InlineEditBox then the scroll doesn't happen. does
>>         anybody know what's going on here?
>>
>>         thanks,
>>         deno
>>
>>         ________________________________________________________
>>         Dojo Toolkit: http://dojotoolkit.org/
>>         Tutorials: http://dojotoolkit.org/documentation/
>>         Reference Guide: http://dojotoolkit.org/reference-guide
>>         API Documentation: http://dojotoolkit.org/api
>>
>>         Dojo-interest at mail.dojotoolkit.org
>>         <mailto:Dojo-interest at mail.dojotoolkit.org>
>>         To unsubscribe, visit:
>>         http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>>
>>
>>
>>     ________________________________________________________
>>     Dojo Toolkit:http://dojotoolkit.org/
>>     Tutorials:http://dojotoolkit.org/documentation/
>>     Reference Guide:http://dojotoolkit.org/reference-guide
>>     API Documentation:http://dojotoolkit.org/api
>>
>>     Dojo-interest at mail.dojotoolkit.org  <mailto:Dojo-interest at mail.dojotoolkit.org>
>>     To unsubscribe, visit:http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
>     ________________________________________________________
>     Dojo Toolkit: http://dojotoolkit.org/
>     Tutorials: http://dojotoolkit.org/documentation/
>     Reference Guide: http://dojotoolkit.org/reference-guide
>     API Documentation: http://dojotoolkit.org/api
>
>     Dojo-interest at mail.dojotoolkit.org
>     <mailto:Dojo-interest at mail.dojotoolkit.org>
>     To unsubscribe, visit:
>     http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
>
>
> ________________________________________________________
> Dojo Toolkit: http://dojotoolkit.org/
> Tutorials: http://dojotoolkit.org/documentation/
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
>
> Dojo-interest at mail.dojotoolkit.org
> To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20130409/8f3e71df/attachment.htm 


More information about the Dojo-interest mailing list