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

fix(MdDatepicker): positioning when used inside flex container #2036

Merged
merged 1 commit into from
May 11, 2019

Conversation

hastom
Copy link
Contributor

@hastom hastom commented Mar 21, 2019

Fixes #1794 #1915
The issue occurs when DatePicker used inside flex-container with width less than datepicker width.
On the first frame of its existence datepicker container shrinks to fit inside flex container. It results in increased height (cause content adapts). This increased height is caught by popper.js and position calculates incorrectly

@marcosmoura marcosmoura changed the title [MdDatepicker] Fixed positioning when used inside flex container fix(MdDatepicker): positioning when used inside flex container May 11, 2019
@marcosmoura marcosmoura merged commit 67677a2 into vuematerial:dev May 11, 2019
marcosmoura added a commit that referenced this pull request May 12, 2019
* origin:
  docs: fix 2 wrong property names with autocomplete docs (#2006)
  fix(MdTable): undefined table sorting #1906 (#2012)
  docs: fix dynamic tooltip text to show bottom instead of top (#2013)
  refactor(MdDatepicker): upgrade date-fns (#2037)
  fix(MdDatepicker): positioning when used inside flex container (#2036)
  fix(MdSelect): infinite loop error, when no v-model provided (#2035)
  fix(MdApp): normalized component's tag before checking to match slot … (#1994)
  chore: some misspellings in config.js (#1986)
  fixFixed non unique ids on MdSelect (#2001)
  fix(MdInput): invert password on-off icons (#2008)
  test: fix test selectors for checkbox and switch (#2009)
  docs: add default theme as a suggestion (#2043)
  Fixed md-wave transition (#2034)
  fix(MdRipple): fixed missing ripple effect (#2059)
marcosmoura added a commit that referenced this pull request May 12, 2019
* origin: (80 commits)
  docs: remove wrong text-shadow
  docs: add referal code
  fix(MdProgressSpinner): improve transition (#1946)
  chore: upgrade deps
  docs: fix 2 wrong property names with autocomplete docs (#2006)
  fix(MdTable): undefined table sorting #1906 (#2012)
  docs: fix dynamic tooltip text to show bottom instead of top (#2013)
  refactor(MdDatepicker): upgrade date-fns (#2037)
  fix(MdDatepicker): positioning when used inside flex container (#2036)
  fix(MdSelect): infinite loop error, when no v-model provided (#2035)
  fix(MdApp): normalized component's tag before checking to match slot … (#1994)
  chore: some misspellings in config.js (#1986)
  fixFixed non unique ids on MdSelect (#2001)
  fix(MdInput): invert password on-off icons (#2008)
  test: fix test selectors for checkbox and switch (#2009)
  docs: add default theme as a suggestion (#2043)
  Fixed md-wave transition (#2034)
  fix(MdRipple): fixed missing ripple effect (#2059)
  docs: add codefund ads and remove old sponsors
  fix(MdSvgLoader): svg loader for invalid / missing mimetype (#1942)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MdDatepicker] Positioning error when placeing the datepicker into an dynamic layout item
2 participants