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

feat(calendar): new default constantheight false #2043

Closed

Conversation

lubber-de
Copy link
Member

@lubber-de lubber-de commented Aug 9, 2021

Description

As proposed in #1745 (comment) this PR changes the default value for constantheight to false.

Whenever the first of a month is shown within the first 5 columns of a calendar, then, according to the months amount of days, a full adjacent row is added to the calendar, which is unnecessary in most cases, so i suggest to turn this setting off by default

As this is a breaking change it is supposed to be part of 2.9

Screencapture

calendar-height

@lubber-de lubber-de added type/feat Any feature requests or improvements lang/javascript Anything involving JavaScript state/awaiting-reviews Pull requests which are waiting for reviews tag/breaking-change Any pull request which is waiting for a breaking change release labels Aug 9, 2021
@lubber-de lubber-de added this to the 2.9.0 milestone Aug 9, 2021
@lubber-de
Copy link
Member Author

Docs added by fomantic/Fomantic-UI-Docs#298

@lubber-de lubber-de added the state/has-docs A issue/PR which requires documentation changes and has the corresponding PR open in the docs repo label Aug 9, 2021
Copy link
Contributor

@exoego exoego left a comment

Choose a reason for hiding this comment

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

LGTM
Added screen capture in the PR description.

@lubber-de
Copy link
Member Author

Mmh, there is one situation where this might be annoying if it's default: When the calendar is displayed on top of the calendar field: Because of the height changes you cannot constantly click on the month arrows.

Should we change the setting anyway?

https://jsfiddle.net/lubber/2gw7f8ze/1/

calendartopconstantheight

@prudho
Copy link
Contributor

prudho commented Aug 10, 2021

Well this can be annoying... At my work for example, they always need to change month in calendars. Maybe we should not define it to true by default 🤔

@lubber-de
Copy link
Member Author

Agree, i will close this PR, let's keep the default as it is.

@lubber-de lubber-de closed this Aug 10, 2021
@lubber-de lubber-de deleted the calendar/defaultConstantHeight branch August 10, 2021 10:11
@lubber-de lubber-de removed this from the 2.9.0 milestone Aug 10, 2021
@lubber-de lubber-de added state/wont-fix Anything which isn't going to be fixed and removed state/awaiting-reviews Pull requests which are waiting for reviews labels Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/javascript Anything involving JavaScript state/has-docs A issue/PR which requires documentation changes and has the corresponding PR open in the docs repo state/wont-fix Anything which isn't going to be fixed tag/breaking-change Any pull request which is waiting for a breaking change release type/feat Any feature requests or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants