get-focus/deprecated-focus-components-v3

Header not expanded does not appear after F5

aelhaoun opened this issue · 1 comments

Current behaviour

If located at the middle or bottom of the page, and press F5, the not expanded header is not appearing.

image

Expected behaviour

The expected behaviour is to have the not expanded header appearing.

[If you judge it necessary, add a screenshot]
image

Explanation of the origine of the issue

You need while initialisation, to detected in which position of the page we are located, and based on this information, decide whether to show the expanded Header or the small Header,
So var isNotFixedOrExpanded = isFixed ? false : isExpanded; is not accurate since it doesn't care about the postion of the page.

Versions

Focus-core: v3
Focus-components: Header