Ext version tested:
Browser versions tested against:
Description:
Steps to reproduce the problem:
The result that was expected:
The result that occurs instead:
The only workaround I have found for this is to store the current scroll position in the beforeexpand and beforecollapse handlers for each panel in the accordion. And on the accordion itself call window.scrollTo(0, storedScrollPos) in the afterlayout handler.
- Ext 4.2.2
Browser versions tested against:
- IE8
- IE9
- FF 22.0
- Chrome 33.0
Description:
- Given an accordion layout that is longer than the screen, when I scroll down and expand or collapse a panel the scroll position on the page is lost. The scroll position jumps to the top of the accordion panel.
Steps to reproduce the problem:
- See this jsfiddle: http://ift.tt/PLC9ne
The result that was expected:
- The scroll position should be maintained
The result that occurs instead:
- The scroll bar jumps to the top of the accordion
The only workaround I have found for this is to store the current scroll position in the beforeexpand and beforecollapse handlers for each panel in the accordion. And on the accordion itself call window.scrollTo(0, storedScrollPos) in the afterlayout handler.
Aucun commentaire:
Enregistrer un commentaire