Skip to content

[#2018] usePopover - add default position#2019

Merged
m0ksem merged 2 commits intoepicmaxco:developfrom
popov-a-e:FIX-2018
Jun 30, 2022
Merged

[#2018] usePopover - add default position#2019
m0ksem merged 2 commits intoepicmaxco:developfrom
popov-a-e:FIX-2018

Conversation

@popov-a-e
Copy link
Copy Markdown
Contributor

@popov-a-e popov-a-e commented Jun 28, 2022

Close #2018

Description

va-dropdown__content-wrapper without top and left properties might position wrongly, which causes the original issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement/refactoring (non-breaking change that doesn't add any feature but make things better)

@m0ksem m0ksem requested review from RVitaly1978 and m0ksem June 28, 2022 22:58
@m0ksem m0ksem added this to the 1.4.5 (current) milestone Jun 29, 2022
prev = rect
})

watch(target, (newVal) => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This thing is important. It will update domRect exactly after it appears in DOM.

Copy link
Copy Markdown
Member

@m0ksem m0ksem left a comment

Choose a reason for hiding this comment

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

Thanks for notice! I made it a bit simpler.

@m0ksem m0ksem merged commit f667f47 into epicmaxco:develop Jun 30, 2022
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.

Issue with opening va-select element

3 participants