No textbox cursor in modal popup in Firefox

Last post 10-06-2008 8:32 AM by stmarti. 7 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
    • Contributor
      4,580 point Contributor
    • stmarti
    • Member since 06-06-2006, 8:20 AM
    • Posts 972

     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
    • Contributor
      4,580 point Contributor
    • stmarti
    • Member since 06-06-2006, 8:20 AM
    • Posts 972

    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
    • Member
      158 point Member
    • blueraccoon
    • Member since 11-17-2005, 6:40 PM
    • Posts 26

    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.

  • Re: No textbox cursor in modal popup in Firefox

    10-06-2008, 4:58 AM
    • Member
      17 point Member
    • KeysMan
    • Member since 06-06-2006, 6:38 PM
    • Posts 7

    I actually have the same problem only it is in IE7. Anybody have a clue on how to solve this

  • Re: No textbox cursor in modal popup in Firefox

    10-06-2008, 8:32 AM
    • Contributor
      4,580 point Contributor
    • stmarti
    • Member since 06-06-2006, 8:20 AM
    • Posts 972
    I've never heard similar bug in ie6, ie7. Try Another simple testcase (caret partialy showed) in ie7. If the cursors are visible in all textbox, than you have different problem in your app, start a new thread about it.
Page 1 of 1 (8 items)