Anchor link offset are not calculated correctly
dacousalr opened this issue · 9 comments
Expected behaviour
Clicking in anchor links under a Liferay environment should set the scroll to the correponding element.
Actual behaviour
Clicking in anchor links under a Liferay environment set the scroll without calculating the offset of the ancestor elements.
Steps to reproduce
To test this in a Liferay enviroment LPS-43629 should be reverted and follow the reproduction steps of LPS-71809.
Possible solution
Hey @dacousalr, I've sent you a pull request updating senna.js in portal to the version containing the fix: dacousalr/liferay-portal#9
Thx
Thank you so much, @brunobasto
Hi all, same problem here working with a Liferay 7 DXP fixpack-25.
In which way should I fix this issue in a production environment? Override method with latest version of Senna?
Fixed by #220
@caneta, you should have it fixed if you apply this fixpack
Thank you @brunobasto: in the link there is a fixpack for Liferay 6.2 but I need it for a Liferay 7 DXP. Is it available yet?
Hi @caneta, the solution for Liferay 7 DXP is not available yet but it will be soon.
I see that fixpack de-29 for Liferay 7 DXP is out, but I cannot find in its releases notes if it solves this issue.
The Liferay Issue ID should be LPS-71809.
Any idea on when it will be available on a regular fixpack?
Thank you
The fix has been released in the "de-30-7010" DXP fix pack.