Consider the following scenario:
In this scenario, the scrollbar position is reset after the settings of the visibility property and the display property are reverted to visible and display, respectively.
- In Internet Explorer 11, you have an item that contains a scrollbar.
- You change the visibility property of the item from visible to invisible (for example, to hidden), and you change the display property from display to none.
- The scrollbar position of the container is moved.
In this scenario, the scrollbar position is reset after the settings of the visibility property and the display property are reverted to visible and display, respectively.