I have a problem that is similar (if not the same--hard to tell). I
have a ui.sortable that is also a ui.accordion. In IE (7, and 8),
sorting renders the sorted item invisible, until the cursor hovers
over another item in the list. While the item is invisible, it's DOM
is still fine, and it's not hidden. By looking at the DOM, you'd think
you should be able to see it.
I have narrowed the problem down to "position: relative" in my own
style for items in ui.sortable, as well as in ui.accordion-header
style:
.ui-accordion .ui-accordion-header { cursor: pointer; position:
relative; margin-top: 1px; zoom: 1; }
Removing "position: relative" from both fixes the problem--after that
sorting does not cause sorted items to disappear. Unfortunately, this
change messes up the ui-icon in ui-accordion-header... The other thing
is, I've been trying to reproduce the problem in a smaller test on
jsbin.com, so I can share it, but haven't been able to. That indicates
that there is more to it--the interactions are more complex... Anyway,
I hope this bit of info helps...
Edin
On Aug 19, 2:10 am, Jörn Zaefferer <[email protected]>
wrote:
> Creating a simplified testpage that shows the same problem is the
> challenge here. You'd have to start with your complex page, and remove
> stuff until the issue disappears, then revert the last step.
>
> Without any code I can't even make wild guesses...
>
> Jörn
>
> On Wed, Aug 19, 2009 at 10:25 AM, Tobias Herrmann<[email protected]>
> wrote:
>
> > Hi Jörn,
>
> > the html structure and css of my page are quite complex. There are also
> > additional dom-operations triggered by the sorting. The page is not
> > available online and I can't reproduce the problem in a simplified
> > test-page. This is really a part of my problem.
>
> > My question is, have you seen this kind of problem before and do you
> > have any hints what may cause this?
>
> > I would appreciate any guesses and hints, what to look for.
>
> > Greetings, Tobias
>
> > Jörn Zaefferer schrieb:
> >> Can you provide a testpage for this?
>
> >> Jörn
>
> >> On Tue, Aug 18, 2009 at 9:47 AM, tobirius<[email protected]> wrote:
>
> >>> Hi List,
>
> >>> I've got a rendering issue with IE7 and ui.sortable. After sorting
> >>> elements on my page disappear or overlap even though the dom is build
> >>> correctly. Triggering another dom operation may cause IE7 to re-render
> >>> the page and everything is fine.
> >>> I am sure this is a bug in IE7 and it is probably not directly related
> >>> to ui.sortable, but maybe someone had this kind problem before? Has
> >>> anybody some insight what exactly triggers these issues and how to
> >>> avoid them?
>
> >>> Greetings, Tobias
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---