Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to click copy, upvote, downvote buttons on previous screen #538

Open
ayonliu opened this issue Nov 15, 2024 · 3 comments
Open

Unable to click copy, upvote, downvote buttons on previous screen #538

ayonliu opened this issue Nov 15, 2024 · 3 comments

Comments

@ayonliu
Copy link

ayonliu commented Nov 15, 2024

When the results are more than one screen, it is not possible to click the copy, upvote, downvote buttons of the previous screen.
When you scroll the screen to the previous screen and try to click the copy, upvote or downvote button, the page immediately scrolls to the bottom

2024-11-15 111856

@john-dw
Copy link

john-dw commented Nov 21, 2024

Hi,

In the use-scroll-to-bottom.ts file, remove attributes and characterData from the observer.

`

  observer.observe(container, {
    childList: true,
    subtree: true,
    // attributes: true,
    // characterData: true,
  });

`

@ayonliu
Copy link
Author

ayonliu commented Nov 25, 2024

Hi,

In the use-scroll-to-bottom.ts file, remove attributes and characterData from the observer.

`

  observer.observe(container, {
    childList: true,
    subtree: true,
    // attributes: true,
    // characterData: true,
  });

`

@john-dw Thanks a lot. I tried your suggestion, still got the problem.

@khaledalyawad
Copy link

added a fix here #791

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants