ember-router-scroll
ember-router-scroll copied to clipboard
Any reason scrollElement needs an ID?
Could we change scrollElement to accept any CSS selector, like a class?
Yes, absolutely @samselikoff. Not sure that is the way it is. PR's welcomed.
It seems this issue was fixed.
@yowainwright I believe this is still an issue: https://github.com/dollarshaveclub/ember-router-scroll/blob/master/addon/services/router-scroll.js#L54
I'd like scrollElement to be able to be any css selector (not targetElement)
Mind reopening?
@samselikoff do you have time to submit a PR with this update? Thank you.
Thanks for articulating the issue as well.
I don't at the moment but let's leave this open for now, may be able to carve out some time soon-ish