iframe-resizer icon indicating copy to clipboard operation
iframe-resizer copied to clipboard

Anchor issue (using 4.0.4)

Open AndreFabris opened this issue 6 years ago • 6 comments

It seems similar issue was fixed in the past, however it is back. I am using latest 4.0.4 code. Basically this is a standard FAQ page in the iframe, and the anchor links get an iframeresizer event attached. This prevents anchor links from working as expected.

I have: inPageLinks: true, as setting, as I want non anchor links to open inside the frame. However when i set it to false, non anchor links still work, and anchor links dont. In this case Event is not attached, and when clicked the page scrolls just a few pixels.

Opening the page outside the frame makes all anchor links work as expected

image

AndreFabris avatar Mar 27 '19 09:03 AndreFabris

Do you have a link to an example?

davidjbradshaw avatar Apr 06 '19 20:04 davidjbradshaw

http://demo.appsforce.org use provided login, go to myForums on the left and select FAQ from the top

AndreFabris avatar Apr 10 '19 12:04 AndreFabris

Can you turn the logging on please

davidjbradshaw avatar Apr 10 '19 15:04 davidjbradshaw

turned on :) thanks for looking into it btw

AndreFabris avatar Apr 10 '19 15:04 AndreFabris

Is there any update for this, please? is there a version where it's working fine?

Additionally, the contentWindow isn't aware of any scroll events. pageYOffset is always 0

ketokun avatar Mar 10 '20 05:03 ketokun

Finally have time to look at this, but I need an example to see the issue

davidjbradshaw avatar Feb 02 '24 16:02 davidjbradshaw