Toggle active/inactive states push content down
rukshn opened this issue · comments
Thanks for the issue buddy! :) ill look into this, i believe this only happens on the preview, but im gonna have a look.
Hi @nikuscs, unfortunately no, I was using the toggle component for my work and it also happens there. I added the recording from the preview to elaborate it. I tried going though the component but can't seem to find the cause of the issue as well.
Oops, sorry, should be available in the next tagged release :) 0.7.11
Please let me know @rukshn
The bug happpened becasue there was no icon on the "negative" state , so when you toggle to true, it would jump to fill space for the new icon.
So now both states should have the icons as they should, there is now also a new prop "icon" that you can set to disable both icons.