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

Elements mapped through the Web Components slot do not display borders correctly #684

Closed
LHongHui opened this issue Jun 23, 2022 · 7 comments
Labels
bug Something isn't working complete invalid This doesn't seem right
Milestone

Comments

@LHongHui
Copy link

LHongHui commented Jun 23, 2022

Environments

Description

When using the Web Components slot to map elements, the elements display in the correct position, but the Moveable border does not.
image

@LHongHui
Copy link
Author

@daybrush Hello, is this an unsolvable problem?

@duoduoObama
Copy link

@daybrush moveable and interact.js this problem exists

@daybrush
Copy link
Owner

@duoduoObama @LHongHui

it is yet
is being tested

@daybrush daybrush added this to the 0.31.3 milestone Jul 19, 2022
@daybrush daybrush removed the backlog label Jul 19, 2022
daybrush added a commit that referenced this issue Jul 20, 2022
@daybrush
Copy link
Owner

@duoduoObama @LHongHui

  • lit-moveable 0.9.0
  • moveable 0.32.0
  • preact-moveable 0.34.0
  • react-compat-moveable 0.20.0
  • react-moveable 0.35.0
  • svelte-moveable 0.24.0
  • vue-moveable 2.0.0-beta.26
  • vue3-moveable 0.7.0
  • ngx-moveable 0.29.0

moveable's new version is released.
Suppport custom element. Check it again.

@LHongHui
Copy link
Author

LHongHui commented Jul 22, 2022

@duoduoObama @LHongHui

  • lit-moveable 0.9.0
  • moveable 0.32.0
  • preact-moveable 0.34.0
  • react-compat-moveable 0.20.0
  • react-moveable 0.35.0
  • svelte-moveable 0.24.0
  • vue-moveable 2.0.0-beta.26
  • vue3-moveable 0.7.0
  • ngx-moveable 0.29.0

moveable's new version is released. Suppport custom element. Check it again.

@daybrush Hello, the Bounds property doesn't seem to work properly when using the web Components internal element as the root node of Moveable.
Testable Address(optional): https://stackblitz.com/edit/js-b1r49n

@daybrush daybrush modified the milestones: 0.32.0, 0.32.1 Jul 22, 2022
@daybrush
Copy link
Owner

@LHongHui

Are you saying that the target being bounds is wrong?

I guess it's because you set the snapContainer to document.body?

@daybrush daybrush modified the milestones: 0.32.1, 0.32.0 Jul 22, 2022
daybrush added a commit that referenced this issue Jul 22, 2022
@LHongHui
Copy link
Author

@LHongHui

Are you saying that the target being bounds is wrong?

I guess it's because you set the snapContainer to document.body?

Thank you, I have found the parameter configuration error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working complete invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants