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

Upgrade to selectize.js 0.15.2 #3875

Merged
merged 20 commits into from
Aug 28, 2023
Merged

Upgrade to selectize.js 0.15.2 #3875

merged 20 commits into from
Aug 28, 2023

Conversation

cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Aug 17, 2023

Closes #3868
Closes #3839
Closes #3700
Closes #2957
(Will close) posit-dev/py-shiny#655

@cpsievert cpsievert changed the title Upgrade selectize.js 0.15.2 Upgrade to selectize.js 0.15.2 Aug 17, 2023
@wch

This comment was marked as outdated.

Although @selectize/selectize does have a (slightly different) index.d.ts, it doesn't seem to be well maintained and/or relevant to the code we've written
@cpsievert cpsievert marked this pull request as ready for review August 24, 2023 00:55
@gadenbuie
Copy link
Member

This might be addressed by this PR already, but I just noticed that select inputs add margin bottom on the .selectize-control element, which is nested quite deeply in the component.

image

Do you think it'd be possible to move that margin higher up in the component tree so that we could more easily disable it in a gap-spacing context (in bslib)?

@cpsievert
Copy link
Collaborator Author

cpsievert commented Aug 24, 2023

Great point @gadenbuie, addressed in b3d3298

I'm guessing that rule was there before .shiny-input-container {margin-bottom: } existed, and nobody noticed the slightly extra bit of margin (compared to other inputs)? Regardless, it seems safe to just remove it.

Copy link
Member

@gadenbuie gadenbuie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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