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

Wrong selectbox rendering after reset form with scrollable.js #58

Open
TildBJ opened this issue Apr 18, 2018 · 1 comment
Open

Wrong selectbox rendering after reset form with scrollable.js #58

TildBJ opened this issue Apr 18, 2018 · 1 comment

Comments

@TildBJ
Copy link

TildBJ commented Apr 18, 2018

Wrong rendering applies to Selectboxes with scrollable.js plugin. After reset the form, the height of the select box is 0.
See https://jsfiddle.net/k056xn67/6/

@webicz
Copy link

webicz commented Jul 1, 2019

Hi, I'm trying to solve similar issue. Problem is with custom scroll and dropdown using jcf.

Steps to reproduce:

  1. Open dropdown
  2. Click outside of dropdown list to close it
  3. Click "refresh all" link to refresh all jcf elements
  4. Open dropdown again
  5. Now it has 0px width and 0px height

Here is the fiddle: https://jsfiddle.net/kazlepka/tws1bdnh/

I was checking the code and problem is most probably in refreshing instances, even the ones that doesn't exists anymore (scrollable dropdown). It's not in DOM anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants