No textbox cursor in modal popup in Firefox

Last post 09-21-2007 9:46 AM by blueraccoon. 5 replies.

Sort Posts:

  • No textbox cursor in modal popup in Firefox

    07-10-2007, 2:08 PM

    I have a gridview in a modal popup, and while using Firefox I can't see the textbox cursor in any of the fields in the gridview.  I have also confirmed this problem with a normal textbox. 

    In IE 6, the cursor appears normally.

    Any suggestions would be appreciated!

    -Joel
     

  • Re: No textbox cursor in modal popup in Firefox

    07-13-2007, 2:12 AM

     Hi Joel,

    I created an item for you: http://www.codeplex.com/AtlasControlToolkit/WorkItem/View.aspx?WorkItemId=11692

    You may vote for it.

     

  • Re: No textbox cursor in modal popup in Firefox

    07-13-2007, 8:16 AM
    Answer
    • Loading...
    • stmarti
    • Joined on 06-06-2006, 12:20 PM
    • Posts 705

     Hello,

    I think you have encountered an old firefox bug. Bug 167801

    This is not ajax controltoolkit bug.

    There are workarounds, but hard to implement a robust solution.

    Good sample to reproduce the bug: Another simple testcase (caret partialy showed)

    Pay attention for the half-shown cursor in the above example, it's funny Big Smile

  • Re: No textbox cursor in modal popup in Firefox

    07-13-2007, 11:15 AM

    Yes, that half-cursor is quite interesting. :)

    You mentioned that there are work-arounds.   Do you know where I could find a description of what I would need to do?  Also, why would the bug report be marked as "fixed" if it is not really fixed?

     -Joel
     

  • Re: No textbox cursor in modal popup in Firefox

    07-17-2007, 9:31 AM
    • Loading...
    • stmarti
    • Joined on 06-06-2006, 12:20 PM
    • Posts 705

    Hi,

    I think it's marked as fixed... already in 3.0 version tree, so not (and probably never ) for 2.0 Sad Anyway I'm not sure because I'm not a firefox expert.

    I like firefox (I'm using it this moment), but it has bugs as other browsers, one of my favorite: firefox can not render 1 row height textarea, very stupid. This is not fixed from many years... Big Smile

    Back to the workaround:

    I'm using this usually, just copied from one of my aspx page:

    <div style="overflow: auto;"><input type="text" id="txt1" value="something"  /></div><%-- The surrounding div is not necessary, but it eliminates missing cursor bug in Firefox. --%>

    Unfortunately this not works always, implementing for a grid view is not easy.

    I recommend to play with surrounding divs (around your grid) and the overflow css property (try all setting: scroll, visible, hidden, auto) OR try to remove overflow css from anywhere. The firefox bug page also have some workaround in the attachments section. Maybe these helps.

     

  • Re: No textbox cursor in modal popup in Firefox

    09-21-2007, 9:46 AM

    I've found sometimes that removing the PopupDragHandleControlID attribute of the ModalPopupExtender can fix this.

    Clearly this is less than ideal if you require the popup to be draggable.

Page 1 of 1 (6 items)
Microsoft Communities
Page view counter