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

Softcrash when using the gooey.vertical_scrollbar with gooey.dynamic_list #25

Closed
Jerakin opened this issue Mar 20, 2019 · 0 comments
Closed

Comments

@Jerakin
Copy link
Contributor

Jerakin commented Mar 20, 2019

Happens when you do gooey.dynamic_list(...) before gooey.vertical_scrollbar(...) in on_input(..) or init(...) (as if you use update_list(gooey.dynamic_list(...)) on init(...))

dynamic_list will call update_list before gooey.vertical_scrollbar(...) so action will always have been nil.

Workaround is to pass the expected variables in init(...) before update_list like gooey.vertical_scrollbar("scrollbar/handle", "scrollbar/bar", nil, {x=0, y=0})

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

1 participant