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
method moveRight doesn't work Or RTL support issues #146
Comments
Hi @MortezaT , sorry for the delayed response. Can you give me some reproducing steps and a use case so I can take a closer look? Thanks! |
Hi @bfwg, Thanks for the response. |
No problem, take your time. |
here you can see my implementation. I hope this helps with the problem. |
* refactor: add dragscroll item and refactor code * fix: unit tests * feat: fix unit test and update readme * docs: update readme * fix: fix ngc * refactor: move template to inline * feat: use inline-block for items * fix: add sanity check to moveTo * refactor: refactor build remove js files * build: update .gitignore and .npmignore * refactor: resolve issue mention in #146
Hi @MortezaT , 2.0.0-beta.2 is out, let me know it made your implementation issue worst or better. Thanks! |
Neither beta.2 nor beta.3 worked at all.
Did I miss something? |
Hi @MortezaT , 2.0.0 uses
More information can be found in the README.md. Cheers. |
Hi @bfwg Thanks. |
@bfwg |
I am going to close this issue. Please let me know if I need to reopen this. Thanks! |
Dear @bfwg In my case, when the webapp is opened in different sized windows sometimes the reachesRightBound or the moveRight() method does not work. Sometimes reachesRightBound does not return true when the carousel's already showing the last item. It depends on the width of the windows too. When I dragged the window, my carousel adjust the width because I set it to width: 100%. But at certain widths, it seems the carousel is stuck - there seems to be an extra padding at the right that moveRight() wouldn't scroll. So the value for reachesRightBound always return false, even though it's already at the right most item. |
I got one issue report and one question to ask.
1- I think
currIndex
has been set out of array boundary by mistake In functionCurrentChildWith
(line 274) and it should be set tolength - 1
- just like the if statement's condition -. this stops move right2- I think there are lots of problems with
RTL
support sincereachesRightBound
is emits false in the very beginning andmoveLeft
works even after reaching left bound but it's not the same on right bound.The text was updated successfully, but these errors were encountered: