-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[FloatingActionButton] Support horizontal and vertical speed dials #2851
Comments
Here's the link to material design spec https://www.google.com/design/spec/components/buttons-floating-action-button.html#buttons-floating-action-button-transitions |
Anyone interested in PR? |
I'd love to see this. It is relatively common for material ui projects. (Would be especially useful for us designers prototyping designs to clients!) |
@dltmd6262 To answer your question in #2002, I would suggest to make a separate component to extend FAB rather than bloating FAB with this feature. |
Great! If there's someone already working on this I'd love to help. In the meantime I'll be working on this on my own :] |
I made one for my app, if you are interested I can make it generic and share it :) |
Looks like work done?? |
@antoinerousseau That looks great! Do you want to contribute it back here? I'm willing too help if needed. |
@oliviertassinari glad you are interested, so I'll prepare a PR asap then :) |
@antoinerousseau Awesome. |
Yeah I was about to ask about css, so you guys are going to switch from inline styles to css? I read that performances are better, is that why? Is there a thread about the |
@antoinerousseau @oliviertassinari Transition groups helping to choreograph multiple elements transitioning in a material design compliant fashion would be a nice feature to abstract and make available for other uses too 👍 |
Yes, we are going to use the CSS styling capability of the browser instead of the inline style.
I'm well aware of this project. What's your point?
https://twitter.com/markdalgleish/status/756778026604466176 @nathanmarks Has developed an original and awesome solution for our needs: stylishly.
I'm gonna give my point of view, @nathanmarks may not share it. Actually, the CSS approach may perform a bit less based on the CSSDOM algorithm:
Good question, there isn't much information about it. @nathanmarks do you think it worth writing a documentation about it? I'm wondering if this wouldn't address @rosskevin's issue regarding not knwowing about what we are working on and how he could help. |
@oliviertassinari Yes, it's about time that there's something more written about |
thanks @oliviertassinari for all these precisions. and stylishly looks promising! i'm glad you guys are committed on pushing this project forward into modernity :) about react-toolbox, I mentioned it because I saw that it has more or less the same goal than your lib, but I didn't test it (and I'm not planning on rewriting my whole project anyway), but I saw that they are using CSS modules so I was wondering what were you thoughts about their code, and what alternative you are taking to make some big refactoring more relevant than switching to contributing to their project 😅 |
But I think I found some answers in these threads :) |
@antoinerousseau We're confident that the next major changes are going to bring a lot more stability and consistency to the library (along with easier to override css, better performance and a cleaner API surface). There's a big test feature coming which is going to help plug a lot of holes -- automated cross-browser visual regression testing. |
@antoinerousseau Fixing the issues with the library has been a goal of mine since the start of this year when I began contributing, and we're well underway. |
Just wanted to throw in my 2c, even with some small performance issues I've been loving material-ui (I've been avoiding low-end devices though). I just think it's important to maintain a backwards-compatibility of some sort though with this style update, as the upgrade from 0.14 to 0.15 was indeed a bit painful. I like the direction this library is moving though 👍 |
Thanks for these infos! Looking forward to playing with the new version then! |
@antoinerousseau Did you make your speed dial component available anywhere? Merged into this project? |
@johanatan I was waiting for a more stable I see that @oliviertassinari is preparing the 0.16, is that going to include the rewrite? |
@antoinerousseau The v0.16.0 release isn't going to include the rewrite. It's a regular release with some breaking changes and a lot of bug fixes. @nathanmarks Has made some great progress on the |
Sounds great! I'll give it a try asap then (i.e. hopefully in a few days) :) |
So, the speed dial component won't be released anytime soon? |
@antoinerousseau the links to your SpeedDial.js / SpeedDial.css don't work anymore - could you please re-release these files somewhere? Thanks. |
Sure! here you go: You can also see it in action if you register at https://beta.tribeez.net |
For those interested, I just published my own Speed dial component. Demo: Available on NPM: https://www.npmjs.com/package/react-mui-speeddial Unfortunately I wasn't able to create a demo on WebpackBin since it only allows whitelisted packages it seems... |
Scroll down a little here, and you'll see a speed dial pattern. It would be nice if Material UI could support both a vertical and horizontal speed dial on it's Floating Action Buttons.
The text was updated successfully, but these errors were encountered: