Change size 'xl' of modalDialog to 'l' if Bootstrap 3#3593
Merged
cpsievert merged 6 commits intorstudio:mainfrom Jan 12, 2023
gsmolinski:modal-bootstrap-3
Merged
Change size 'xl' of modalDialog to 'l' if Bootstrap 3#3593cpsievert merged 6 commits intorstudio:mainfrom gsmolinski:modal-bootstrap-3
cpsievert merged 6 commits intorstudio:mainfrom
gsmolinski:modal-bootstrap-3
Conversation
Collaborator
|
Thanks for PR. I'm not particularly keen on shimming |
…ed to 'm' in Bootstrap 3
Contributor
Author
|
I understand; I have prepared another commit, this one only documents that in Bootstrap 3 instead of size |
cpsievert
reviewed
Jun 14, 2022
adds note about how to switch to Bootstrap 4+ with bslib Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
Contributor
Author
|
Should I |
Collaborator
|
yes that'd be great |
Contributor
Author
|
Thank you for review, manual is updated. |
cpsievert
reviewed
Jan 12, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(Problem mentioned also in the issue #3631)
Motivation
modalDialogwithsizeset toxlin Bootstrap 3 is not supported (class 'modal-xl' is not supported). Problem is that this is a default Bootstrap version for Shiny, there is also no information about this issue in documentation. Now the behavior may be surprising for the user if working with Bootstrap 3 - user by chosen sizexlprobably wants the biggest modal dialog, but gets medium size. My intention was to change the size intol(large, 'modal-lg') in this case.What was changed
xlwill be changed intolasxlis not supported in Bootstrap 3.Risks
devtools::check()anddevtools::test(), get some fails / warnings, but I think not related to my changes).Other comments