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

Merge snackbar styles when closed as well as open #925

Merged
merged 1 commit into from
Jun 24, 2015
Merged

Merge snackbar styles when closed as well as open #925

merged 1 commit into from
Jun 24, 2015

Conversation

lourd
Copy link

@lourd lourd commented Jun 23, 2015

Inline styles aren't being overridden when the snackbar is closing because they were only merged when it was open. This fixes that. It still doesn't give a good way to add your own, different styles for opening and closing though.

Inline styles aren't being overridden when the snackbar is closing because they were only merged when it was open. This fixes that. It still doesn't give a good way to add your own, different styles for opening and closing though.
@lourd
Copy link
Author

lourd commented Jun 24, 2015

Good call, using the ternary now

@hai-cea
Copy link
Member

hai-cea commented Jun 24, 2015

Thanks @lourd

hai-cea added a commit that referenced this pull request Jun 24, 2015
Merge snackbar styles when closed as well as open
@hai-cea hai-cea merged commit 76138b1 into mui:master Jun 24, 2015
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Nov 10, 2020
…er (mui#933)

* [mui#925] [mui#930] Support views and openTo props for InlineDatePicker

* [mui#929] Fix openTo prop always recognizing as year
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Nov 10, 2020
* [mui#925] [mui#930] Support views and openTo props for InlineDatePicker

* [mui#929] Fix openTo prop always recognizing as year

* [mui#925] Rerun getDisplayDate on labelFunc change
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Nov 10, 2020
* [mui#925] [mui#930] Support views and openTo props for InlineDatePicker

* [mui#929] Fix openTo prop always recognizing as year

* [mui#925] Rerun getDisplayDate on labelFunc change

* Add onMonthChange and onYearChange callbacks

* Pass new callbacks also for DateTimePicker

* Move firing onYearChange to YearSelection
@zannager zannager added the component: snackbar This is the name of the generic UI component, not the React module! label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: snackbar This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants