ICEmobile
  1. ICEmobile
  2. MOBI-454

Accordion contentPane causing unnecessary DOM diffs

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1 Final
    • Fix Version/s: None
    • Component/s: Faces, Spring
    • Labels:
      None
    • Environment:
      n/a

      Description


      When the contentPane is set to client="false", the renderer will only render content if the pane is selected. This is inoptimal because it means that the when a contentPane moves from opened to closed, a dom diff blanking the content is created, and the browser will never store the hidden content of the contentPane. This means that as a user is toggling back and forth in a tabSet or accordion, then we're always sending dom-diffs to blank out the hidden panes and show the selected panes whether or not the content has actually changed on the server or not. Over the course of switching panes this will probably use much more bandwidth than having contentPanes client="true".

      If client="false" and the pane is not selected, but the pane has in the past been selected, we should continue to render it. This would allow the user to toggle quickly back and forth between panes, a central benefit of having client-side information.

        Activity

        Migration created issue -
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] User Philip.breau [ philip.breau ]
        Migration made changes -
        Issue Type Task [ 3 ] Bug [ 1 ]
        Migration made changes -
        Summary contentPane causing unnecessary DOM diffs by not rendering unless selected contentPane causing unnecessary DOM diffs (was: contentPane causing unnecessary DOM diffs by not rendering unless selected)
        Migration made changes -
        Summary contentPane causing unnecessary DOM diffs (was: contentPane causing unnecessary DOM diffs by not rendering unless selected) Accordion contentPane causing unnecessary DOM diffs (was: contentPane causing unnecessary DOM diffs)
        Philip Breau made changes -
        Summary Accordion contentPane causing unnecessary DOM diffs (was: contentPane causing unnecessary DOM diffs) Accordion contentPane causing unnecessary DOM diffs
        Steve Maryka made changes -
        Assignee Steve Maryka [ steve.maryka ] Judy Guglielmin [ judy.guglielmin ]
        Judy Guglielmin made changes -
        Assignee Judy Guglielmin [ judy.guglielmin ] Steve Maryka [ steve.maryka ]

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: