Comments (10)
Thanks for the help. It works now.
I thought about this a little bit more and I think it would be nice if the library could try to auto-detect anchor element's scroll container since it seems to be a common issue. If I have time, I'll take a look at this next week.
It would be better.
I think that a line under the scrollContainer
section in the docs would be good, telling us how to first figure out scrollContainer
and then bind it. As in my case, I thought that sidebar-content is scrollContainer
, but it's mat-drawer-container.
So short introduction for now to reduce this kind of issues.
from ngx-ui-tour.
The author had partially fixed #152 in PR #154.
from ngx-ui-tour.
@hakimio Thanks for your reply.
Is the fix already included in the latest version or not? If yes, why is this the case?
If you disable backdrop, it is still wrong
from ngx-ui-tour.
Check issue #138 to see if the same solution of setting scroll container config fixes your issue as well.
from ngx-ui-tour.
unfortunately not
from ngx-ui-tour.
Seems to be working after setting scrollContainer
and making some minor CSS adjustments:
https://stackblitz.com/edit/stackblitz-starters-4jxxoc
from ngx-ui-tour.
The tour needs to know the scroll container for the animated scroll to work. Otherwise you can disable the animated scrolling if you don't want to deal with setting the scroll container.
from ngx-ui-tour.
I thought about this a little bit more and I think it would be nice if the library could try to auto-detect anchor element's scroll container since it seems to be a common issue. If I have time, I'll take a look at this next week.
from ngx-ui-tour.
If you have some good ideas how to improve the docs, feel free to open a PR.
from ngx-ui-tour.
Implemented in v12.1.0.
from ngx-ui-tour.
Related Issues (20)
- 🐞 - HOT 9
- 🐞 - `currentStep` is undefined after calling `tourService.start()` HOT 6
- 🚀 - Add support for `prime-ng` library HOT 3
- 🚀 - Add `asyncStepTimeout` setting HOT 1
- 🐞 - Backdrop taller than scroll container when anchor element exceeds scroll container's height HOT 3
- 🚀 - Replace centerAnchorOnScroll by postitionAnchorOnScroll HOT 3
- 🐞 - [md-menu] `nextOnAnchorClick` not working with `closeOnOutsideClick` HOT 1
- 🚀 - Change Defaults Override HOT 1
- 🚀 - Support Angular 17 HOT 1
- 🐞 - [Ionic] tour end button is not working for one of the tour steps HOT 6
- 🐞 - [service] Tour won't open again after pressing the "prev" button and then closing it (with optional first step) HOT 2
- 🐞 - Ionic Version 3 doesn't support Ionic Non-Standalone Ionic Apps HOT 6
- 🚀 - Multi Tour and Execute function before loading step. HOT 9
- 🚀 - Implement route for previous button navigation HOT 4
- 🐞 - [NGX-UI-TOUR-MD-MENU] close tour does not work with RouterModule.forRoot HOT 3
- 🐞 - tourAnchor is FormArray not found when element removed and added again HOT 5
- 🐞 - Show arrow option not reflected when set through setDefaults HOT 2
- 🚀 - Improve step arrow positioning HOT 3
- 🚀 - Support Angular v18 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-ui-tour.