fd-vue-webapp icon indicating copy to clipboard operation
fd-vue-webapp copied to clipboard

Hide button when scrolling in mobile component

Open mcicolella opened this issue 6 years ago • 12 comments

As you can see in the attached image, the button (bottom right corner) overlaps some elements.

screenshot_2018-10-14-18-11-28

It'd better to hide it when scrolling down and show it again when scrolling up.

P.D. any other good alternative? Code ref. https://github.com/freedomotic/fd-vue-webapp/blob/master/src/components/mobile/mobile-pages/PluginsPanel.vue

mcicolella avatar Oct 14 '18 17:10 mcicolella

If object's list lenght is lower then or equal to screen's lenght, the button could cover an element anyway and the list shouldn't be "scrollable". I guess we should think to something else

amenak77 avatar Oct 15 '18 08:10 amenak77

@amenak77 what's your solution?

mcicolella avatar Oct 15 '18 08:10 mcicolella

@mcicolella maybe changing the button's position

amenak77 avatar Oct 15 '18 08:10 amenak77

or commutate the button with another GUI element less "intusive"

amenak77 avatar Oct 15 '18 08:10 amenak77

In my opinion, first choise should be more standard

amenak77 avatar Oct 15 '18 08:10 amenak77

What about changing the floating button to a menu entry in the app bar menu?

romanofranz avatar Oct 15 '18 10:10 romanofranz

@romanofranz choise numer two; not bad @mcicolella what do you think about this?

amenak77 avatar Oct 15 '18 20:10 amenak77

@romanofranz do you want to take this issue?

amenak77 avatar Oct 18 '18 13:10 amenak77

@amenak77 Unfortunately I'm not a Vue developer, I was just suggesting my idea because I spot the question on Twitter :(

romanofranz avatar Oct 18 '18 13:10 romanofranz

Hi, i would like to take this issue as my first contribution, if it is still relevant.

mcdead154 avatar Oct 08 '19 15:10 mcdead154

@mcdead154 ok

mcicolella avatar Oct 08 '19 15:10 mcicolella

is this still an issue? The link above to the code does not work.

anilakodukula avatar Feb 01 '21 17:02 anilakodukula