cozy-ui icon indicating copy to clipboard operation
cozy-ui copied to clipboard

Improve Snackbar and Fab button to make app more agnostic from Flagship application

Open cballevre opened this issue 1 year ago • 0 comments

One of the problems encountered in applications with a snackbar or fab button is managing the margin at the bottom if the flagship application is in immersive mode. Example into Home :

  • https://github.com/cozy/cozy-home/blob/8761d6da5e834042b2e935f1ae6ab5ad90afaa3b/src/components/AddButton/AddButton.jsx#L27

Perhaps we could manage this logic on the cozy-ui side rather than in the apps themselves

cballevre avatar Nov 23 '23 08:11 cballevre