-
Notifications
You must be signed in to change notification settings - Fork 60
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
Reconsider Adobe Spectrum? #148
Comments
Please share your thoughts here going forward, @nehahirve |
The biggest hurdle I'm having so far is that it doesn't seem to obviously enable media queries, or custom layout changes depending on the screen width. But this is maybe a SSR problem rather than a spectrum issue? |
I am using <ul> and <li> elements instead of ListBox for a list of links, since I can’t make it work with links — that component doesn’t seem to be designed for a list of links, rather a list of options that can be selected. Doesn't seem to have a separate List component, or if it's needed. |
The search drawer is proving difficult to implement using the out of the box spectrum components -- they provide us with Dialog and DialogContainers for overlays, which is 1. not really what the search drawer is, and b. is limited in terms of positioning |
The data picker component in spectrum is pre-alpha and not included in the published package -- as such there is no out of the box way to make a calendar w React spectrum https://github.com/adobe/react-spectrum/tree/main/packages/@react-spectrum/datepicker |
Accidental close, sorry! |
difficult to test layout things in unit tests. Cannot find any documentation or plugins or discussion as to how to integrate spectrum w/ Cypress for unit testing, ended up using inline styles to test DOM layout |
The Another thing that would need to be modified if using |
The The structure in general is very solid, which is a good thing if you don't need to many custom modifications. In terms of responsiveness it's as mentioned above tricky to make custom variations. It would have been optimal to be able to decide sizing for certain elements at different screen widths, but maybe also to be able to change certain component props when width changes. Adding your own color to an element doesn't go so well with the dark/light mode functionality of the theme (which otherwise is quite nice) since the custom color wont change with the theme switching between dark/light (is there an easy way of achieving this?). Here's a demo of |
The action button does not have a way to add padding -- it provides correct padding when i pass in a string directly but not when I put in a Msg component |
This rich-text editor for Material UI seems really nice: https://github.com/niuware/mui-rte (An RTE will be necessary for call assignment, notes and other things) EDIT: More good examples exist here: mui/mui-x#513 |
We decided to migrate to MUI. |
Having recently started implementing more complex UI using Spectrum, we've run into some issues. Let's collect concerns here, and then reevaluate whether we should stick with Spectrum or migrate ASAP to something else.
The text was updated successfully, but these errors were encountered: