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

slider tooltip was misaligned, when control was in hidden state at initial rendering #71

Closed
soundar24 opened this issue Jun 27, 2017 · 2 comments
Assignees
Labels

Comments

@soundar24
Copy link
Owner

soundar24 commented Jun 27, 2017

When the slider element was "display: none;" before the content rendering, the tooltip was misplaced. This scenario may occur in SPA applications.

To reproduce this issue, check the below demo:
http://jsfiddle.net/soundar24/LpuLe9tr/1009/

Temporary workaround for this case:
http://jsfiddle.net/soundar24/LpuLe9tr/1021/

@soundar24 soundar24 self-assigned this Jun 27, 2017
@soundar24 soundar24 added the bug label Jul 14, 2017
@soundar24
Copy link
Owner Author

soundar24 commented Jul 14, 2017

Need to consider this plain text case also:
http://roundsliderui.com/#comment-3407973823

Demo to reproduce the issue:
https://jsfiddle.net/nayangar/amhLk8xu/9/

@soundar24
Copy link
Owner Author

This issue was resolved with roundSlider v1.5.1, where the above mentioned both cases are resolved.

Demo 1 : When slider was created with "display: none;"

https://jsfiddle.net/soundar24/bdha2jfs/4/

Demo 2 : When tooltip with lengthy plain text

https://jsfiddle.net/soundar24/bdha2jfs/5/

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