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

Bootstrap scrollspy support #3532

Open
1 of 3 tasks
gladion136 opened this issue Nov 17, 2023 · 0 comments
Open
1 of 3 tasks

Bootstrap scrollspy support #3532

gladion136 opened this issue Nov 17, 2023 · 0 comments
Labels

Comments

@gladion136
Copy link

Problem

Bootstrap Scrollspy don't works with yew but inside a raw index.html. The links and design works but on scrolling the current section will not be selected. Inside a raw index.html it works with the same steps.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Import Bootstrap css inside header (index.html)
  2. Create a with Scrollspy from the examples: https://getbootstrap.com/docs/5.2/components/scrollspy/
  3. Import bootstrap js at the bottom of the body.

Here is an example project: https://github.com/gladion136/yew-bootstrap

Expected behavior
On scrolling the corresponding nav pill should be active like inside the bootstrap example.

Screenshots
With yew:
grafik

Just raw index.html (expected behavior):
grafik

Environment:

  • Yew version: 0.21
  • Rust version: 1.73
  • Build tool, if relevant: trunk
  • OS, if relevant: Linux Mint 20.1
  • Browser and version, if relevant: Firefox 115.0.2 and Chromium 114.0.5735.198

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@gladion136 gladion136 added the bug label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant