• Resolved benoitroubert

    (@benoitroubert)


    Hello,

    First of all thanks for your great plugin and work!

    Would it be possible to give you private access to the page where all above problems can be seen?

    BROWSERS ISSUES

    When we choose an offset in the settings of your parameters, this one gives four different behaviors according the browser (Group1: Safari; Group 2: Chrome, Firefox; Group 3: IE11 ; Group 4: Edge).

    “WHEN NOT AT TOP OF THE PAGE” ISSUE

    When we are not at the top of the page, clicking on the link of an anchor doesn’t correctly goes to where we want.

    If fact we need to click two times. First provoke the scroll to the top of the page; and only after, the second click send us to the correct positionning.

    “ANCHOR LINKS FROM ANOTHER PAGE” ISSUE

    Source: /page-A
    Target: /page-B > #anchor

    Entering /page-B#anchor works sometimes, and sometimes not (would be clearer seeing an exemple on our site).

    RESPONSIVE OFFSET

    This one is about implementing a new feature. Since the height of header is generally depending on the bootstrap zone in which we are (XS, SM, MD, LG), it would be great to allow to choose values foreach of these zones independently.

    • This topic was modified 5 years, 10 months ago by benoitroubert.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    RESPONSIVE OFFSET

    Responsive offset is already implemented in the plugin: See “Offset” section in plugin’s documentation

    WHEN NOT AT TOP OF THE PAGE ISSUE

    This probably happens because the page height changes while the page is scrolling. My guess is that you have a sticky menu that toggles to sticky/non-sticky after you’ve scrolled up/down the page.

    This issue affects all in-page anchors and it will happen whether you’re using “Page scroll to id” or not.

    Go to plugin settings and enable/check “Verify target position and readjust scrolling (if necessary)…” option. Save changes and test your page to see if it fixes the issue.

    BROWSERS ISSUES and ANCHOR LINKS FROM ANOTHER PAGE ISSUE

    I’ll need to see your page in order to help with these. The plugin in general is browser agnostic, so maybe there’s a layout/css issue.

    You can try this for the ANCHOR LINKS FROM ANOTHER PAGE ISSUE:

    Go to plugin settings and enter a value of 300 in “milliseconds delay for scrolling to target on page load” field.
    Save changes and test your page to see if the problem is fixed.

    You can give me private access by email if you want.

    Thread Starter benoitroubert

    (@benoitroubert)

    Before all, thanks for your support!

    I sent you private access by mail and more details about some of the problems.

    RESPONSIVE OFFSET

    Indeed thanks. I then chose the #main-header element as offset element.

    Thread Starter benoitroubert

    (@benoitroubert)

    SOLUTION

    For everyone that would read this post, be sure not to have this kind of rule:

    html, body
    {
    height: 100% !important;
    }

    (it was from a precedent project to prevent horizontal scrolling bug of body).

    After suppressing this rule, no more problem and everything works like a charm (on all browsers, on Desktop / Tablet / Smartphones, with inside anchors and outside anchors (from links from a source page).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Various issues’ is closed to new replies.