I added some code to create a loading button
Live
Editor
I added some code to create a loading button
Live
Editor
I love this! Small things like this make a big difference. So many groups can now be buttons and so many icon plugins can now be deleted!
Is this not slowing down the app using different icon libraries @nick.carroll ?
Great work, just noticed that the button text is not aligned to the center with the icon at 0px
Great question. Icon plugins can often slow down page load as the entire icon pack is downloaded even though most icons are not being used. Bubble page loads donât need more slowdowns
We need a confirmation that only referenced icons are downloaded to the page.
I needed to remove the gap. Thanks for the observation.
Finally! One of the little but really nagging pain points solved. Canât wait to try it out!
So I was looking through all the new icon libraries on the Icon element. Just realized that you can make an icon element rotate perpetually but you canât control its static rotation angle. Very weird (but also normal for Bubble).
very good job ! I think in future project I will never install other icon plugins ! itâs very clever, and easy. The only remark is the same as another guy wrote : all the parameters for the icon would be in better place if ther were in appearance and not in layout part. BRAVO anycase
yaaaay finally
Great! But my BUTTON element shows like before, without the âtype buttonâ option. Why?
Congratulations @nick.carroll
Some Ideas
=> CONDITIONAL CHANGE : Type of Button ( To Colappse for Icons)
=> Search among all libs alltogether
Tks Augusto
Look in the Icon, not the button
Thanks for your answer, but it didn´t help me. There is not options to select type button in button element neither icon element.
Did you refresh the browser (Ctrl+F5)? I had the same issue at first .
wonderful!
since weâre at it, i wanna wish for a spinning wheel (when button is busy).
currently i have so many of these done manually.
Weâve noted this feature request. We have higher priority work on the mobile team right now, but something weâll consider for the near term
Has anyone else experienced a bug with the âcollapse when hiddenâ feature with buttons now?
Iâve created some âclear filterâ buttons using the new button + icon option but when I click the button and the filter is removed, the button visibly hides but the spacing doesnât fully collapse (âcollapse when hiddenâ is checked). But if I refresh the page, the spacing is fully collapsed, as expected.
Just tested it with only the label and no icon â it fully collapses, as expected. I assume thereâs a bug with the icon not being collapsed correctly. @nick.carroll, are you guys able to look into this? I can give more details and step-by-step if needed. Thanks!
Same here. âCollapse when hiddenâ no longer works with Icon or Icon+Label. It only works with Labels option. If the button is initially hidden it does not display it, as expected, but as soon as it is rendered, it no longer collapses.