-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(popover): add cdk events service #217
feat(popover): add cdk events service #217
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@pawel-twardziak is attempting to deploy a commit to the Radix-angular Team on Vercel. A member of the Team first needs to authorize it. |
@pimenovoleg I've just reproduced the issue you talked about before :) the scrollbar appears and disappears quickly making the popover position wrongly computed. Interesting issue. Primitives._.Popover.-.Docs.Storybook.-.Google.Chrome.2024-12-21.18-47-57.mp4 |
the message box is suspicious imho |
@radix-ng/core @radix-ng/maintainers Seems like it works like a charm :) Film.bez.tytulu.mp4Film.bez.tytulu.1.mp4 |
Looks awesome! Can we make this I'm a bit concerned about shadowDOM in MFE and potential side effects. @pawel-twardziak what do you think? or enable by default? |
Yep true, shadowDom would get some side effects, good point @pimenovoleg 👍 I will make it internal feature, only for the storybook purposes and will decouple the primitives from the service. The service itself will find and register the prmitives - that would make the service more MFE ready for the future :) And also will make the service global and experimental, to be provided for playing with it. Documentation will be included. UPDATE: it is already an internal feature as I haven't exposed the service yet :) And it is already optional. The service is provided in the storybook stuff. If we don't provide it, nothing will happen because the injection is optional. @pimenovoleg does it make sense? :) |
Thanks for the detailed explanation, that makes a lot of sense! 👍 I really like the approach of keeping the service decoupled from the primitives and making it global and experimental for now. It sounds like a solid way to test it without introducing too many risks upfront, especially in the context of MFE. The fact that the injection is optional and only used in Storybook for now is great—it minimizes potential side effects while still allowing us to experiment and gather feedback. Looking forward to seeing how it evolves! Let’s keep it iterative and adjust as we learn more. Thanks for considering all these edge cases! 😊 |
+ use renderer2 when ready
b88f3c0
to
ec0e9ef
Compare
@pawel-twardziak |
yes, this version is ready @pimenovoleg 👍 But I want to:
So, we can either merge this PR as it is only for stories so far and do the above later on or wait for the merge to do the above. |
Ok, let's merge it :) |
Description
feat(popover): add cdk events service