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

[InlineWrapper]: Don't force any width on the paper #1248

Merged
merged 1 commit into from
Aug 16, 2019

Conversation

wereHamster
Copy link

@wereHamster wereHamster commented Aug 11, 2019

Fixes #1243

I don't see any reason to force a specific width on the Paper element. The other wrappers (Modal, Static) don't do it either.

[edit]: The Modal wrapper sets a min-width (actually, the ModalDialog does it). Still, I don't quite understand why min-width is needed.

@dmtrKovalenko
Copy link
Member

Can you please fix CI errors

@codecov
Copy link

codecov bot commented Aug 13, 2019

Codecov Report

Merging #1248 into proxy_branch will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##           proxy_branch    #1248      +/-   ##
================================================
+ Coverage         94.13%   94.18%   +0.05%     
================================================
  Files                56       56              
  Lines              1415     1410       -5     
  Branches            200      210      +10     
================================================
- Hits               1332     1328       -4     
+ Misses               65       64       -1     
  Partials             18       18
Impacted Files Coverage Δ
lib/src/wrappers/InlineWrapper.tsx 100% <ø> (ø) ⬆️
lib/src/_helpers/text-field-helper.ts 95.45% <0%> (ø) ⬆️
lib/src/_shared/hooks/useKeyboardPickerState.ts 84.61% <0%> (ø) ⬆️
lib/src/_shared/WithUtils.tsx 100% <0%> (ø) ⬆️
lib/src/views/Clock/ClockPointer.tsx 96% <0%> (+4%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b49b34a...b111c34. Read the comment docs.

Copy link
Member

@dmtrKovalenko dmtrKovalenko left a comment

Choose a reason for hiding this comment

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

Fine, waiting for percy snapshots and if its good, I`ll merge it

@dmtrKovalenko dmtrKovalenko changed the base branch from next to proxy_branch August 16, 2019 09:59
@dmtrKovalenko dmtrKovalenko merged commit 5ee1786 into mui:proxy_branch Aug 16, 2019
kizzetipong added a commit to kizzetipong/material-ui-thai-datepickers that referenced this pull request Aug 30, 2019
* newdev: (671 commits)
  Re-implement based from v3.2.4 - fix issue yyyy case sensitive / unexpected TODO from year selector
  v3.2.4
  Restore support of lib instnace (mui#1281)
  Fix ts error and formik example (mui#1280)
  v3.2.3
  Update patrons list
  Add mention of renamed `moment` property (mui#1268)
  [a11y] Open picker by space click (mui#1266)
  Do not allow input any chars when value is nul (mui#1265)
  Dispatch onChange before onClose (mui#1264)
  Refactor wrapping <Picker /> in state to be 1 component (mui#1263)
  [InlineWrapper]: Don't force any width on the paper (mui#1248) (mui#1261)
  Remove direct `@material-ui/core` imports. (mui#1252)
  [docs] Fix typo in date-fns localization title
  Fix direct @material-ui/core imports (mui#1236)
  Update prop-types.json
  Ovveride keyboard datepicker onChange date type
  [docs] Show DateIOType instead of anys  (mui#1228)
  Update release script
  v3.2.2
  ...

# Conflicts:
#	README.md
#	docs/src/Examples/Demo/DatePicker/BasicDatePicker.jsx
#	docs/src/Examples/Demo/DatePicker/InlineDatePicker.jsx
#	docs/src/Examples/Demo/DateTimePicker/BasicDateTimePicker.jsx
#	docs/src/Examples/Demo/DateTimePicker/InlineDateTimePicker.jsx
#	lib/package.json
#	lib/src/DatePicker/DatePicker.jsx
#	lib/src/DatePicker/DatePickerInline.jsx
#	lib/src/DatePicker/DatePickerModal.jsx
#	lib/src/DatePicker/components/Calendar.jsx
#	lib/src/DatePicker/components/CalendarHeader.jsx
#	lib/src/DatePicker/components/YearSelection.jsx
#	lib/src/DateTimePicker/DateTimePicker.jsx
#	lib/src/DateTimePicker/DateTimePickerInline.jsx
#	lib/src/DateTimePicker/DateTimePickerModal.jsx
#	lib/src/DateTimePicker/components/DateTimePickerHeader.jsx
#	lib/src/_shared/DateTextField.jsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants