Results 1 to 5 of 5

Thread: BasicDialog problem with Firefox

  1. #1
    Ext Premium Member
    Join Date
    Mar 2007
    Posts
    13
    Vote Rating
    0
      0  

    Default BasicDialog problem with Firefox

    In Firefox (version 1.5.0.7 and 2.0) when two BasicDialogs are open, only one is actually draggable (even when modal for both is set to false and draggable is set to true).

    You can see an example here: http://www.wayki.com. If you open it in Firefox and enable the Coordinates dialog (use the Window menu at the top to do this) you'll see that one of the BasicDialogs can be dragged around while the other is locked in place. I just tried Safari as well, and it seems to have the same issue.

    IE6 seems to deal with it just fine, as does IE7.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

    First off, your app is very sharp looking. I like it.

    I tried to dig around to look at the code to see what is happening, but there's too much code for me to quickly digest. If you haven't already tried it, try giving each dialog header element a unique id.

    Let me know if this fixes it for you.

    Jack

  3. #3
    Ext Premium Member
    Join Date
    Mar 2007
    Posts
    13
    Vote Rating
    0
      0  

    Default

    Thanks! And thank you for the sharp looking BasicDialog. It works with our app perfectly.

    I tried to give the headers for each BasicDialog a unique ID and still have the issue. Also, it seems that the BasicDialog that appears last in the HTML hierarchy is the one that can be moved. Any BasicDialogs that appear before the last one can't be moved around.

    Anyway, I cleaned up the JS a little bit to create an example here:

    BasicDialog Example

    That one should be a little more readable

    edit: I just realized that I took the example offline for a while... sorry about that... it should be back up shortly hock:

  4. #4
    Ext Premium Member
    Join Date
    Mar 2007
    Posts
    13
    Vote Rating
    0
      0  

    Default

    Just wanted to add a followup: it's all my fault. I was using an older version of the yui scripts; replacing with the newest version fixed the issue.

    On the topic of BasicDialog however, I have another question/issue. Since I'm using the BasicDialog as a moveable window, is there a way to automatically set a z-index for the BasicDialog such that the last BasicDialog clicked on/used will appear above any other instances of a BasicDialog? Right now it seems that the last BasicDialog to appear in HTML takes precedence over all of the other BasicDialog instances.

  5. #5
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

    That's good to know. I was wondering what happened to you.

    The only way currently is by manually setting/tracking the z-index. It wouldn't be fun! This is where some kind of dialog manager others have requested would definitely be useful.

    I will make this an action item for .34. Enough people have requested it. In the meantime, if you do come up with a hack, please share.

Similar Threads

  1. Infamous Firefox cursor bug - Info and possible workarounds
    By philip142au in forum Ext 1.x: Bugs
    Replies: 24
    Last Post: 4 Aug 2008, 1:58 AM
  2. Mac Firefox modal basic dialog mask problem
    By snid in forum Ext 1.x: Bugs
    Replies: 6
    Last Post: 9 Jan 2008, 10:17 AM
  3. FireFox - TabPanel and BorderLayout - Problem With Scrolling
    By RSidetrack in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 2 Apr 2007, 9:02 PM
  4. Resizing issues in BasicDialog on non-firefox
    By alexw in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 13 Feb 2007, 6:22 PM
  5. BasicDialog | addKeyListener problem
    By andrzejR in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 15 Dec 2006, 9:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •