Skip to content

Upgrade to selectize.js 0.15.2 - #3875

Merged
cpsievert merged 20 commits into
mainfrom
selectize-v0.15.2
Aug 28, 2023
Merged

cpsievert merged 20 commits into
mainfrom
selectize-v0.15.2

Conversation

@cpsievert

@cpsievert cpsievert commented Aug 17, 2023 •

Copy link
Copy Markdown
Collaborator

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 requested a review from gadenbuie August 24, 2023 00:54
@cpsievert
cpsievert marked this pull request as ready for review August 24, 2023 00:55
@gadenbuie

Copy link
Copy Markdown
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)?

Comment thread srcts/src/bindings/input/selectInput.ts Resolved
@cpsievert

cpsievert commented Aug 24, 2023 •

Copy link
Copy Markdown
Collaborator Author

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.

@gadenbuie gadenbuie left a comment

Copy link
Copy Markdown
Member

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