Comments (4)
@benoitgrelard will test here today and then I'll tell you something later :)
Thanks a lot!
from design-system.
We have deprecated the polymorphic package in favour of the asChild
prop so we don't really use it anymore.
That said if you can provide a sandbox reproducing your issue, perhaps we can still try to help?
from design-system.
Thanks for the reply @benoitgrelard !
Please, do you have some example or doc reference about the asChild usage? ... then I'll try to use it here
from design-system.
Absolutely! Sorry I should have sent that in the first place.
https://www.radix-ui.com/docs/primitives/overview/styling#changing-the-rendered-element
Basically we moved away from the as
prop as it brings polymorphism with it which makes everything more complex, especially type-wise. This new approach doesn't have any of these caveats and so overall performance is way better.
from design-system.
Related Issues (20)
- [Select] Does not work with SSR HOT 1
- Issues with `Th` and `Td` styles HOT 1
- The source code of @modulz/primitives HOT 1
- Basic Slider Excample Broken HOT 6
- Radix Dropdown removes scrollbar when opened HOT 1
- Upgrade primitive dependencies HOT 1
- Dropdown Menu: list item onSelect is fired sometimes during onClick of the trigger HOT 9
- [Question]: When are you planning to include a datepicker? HOT 2
- [Question] Why does the grid component align items but justify content?
- Label component not exported from index HOT 1
- Opening Sheet sets the scroll position to top HOT 5
- Include CSS reset in published bundle
- License HOT 3
- css property is not being pulled off props, causing unnecessary work
- Flex and Grid sections have id but are not indexed on the fixed left menu
- Failed build on designSystemProvider
- Bug: 'Banner' is in sidebar but not in main content (docs)
- Bug: sidebar is broken on mobile HOT 1
- Bug: Slider range not perfectly aligned with the track HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from design-system.