superset icon indicating copy to clipboard operation
superset copied to clipboard

UI not adaptive on mobile devices

Open izetex opened this issue 9 years ago • 16 comments

Superset version

Superset 0.19.0

Expected results

When view on mobile device, it makes adaptive UI with useable fonts, images, graphs

Actual results

It renders the same as on desktop, but with broken layout - the blocks are located on wrong places.

Steps to reproduce

Create a dashboard and view on mobile phone

izetex avatar Aug 19 '17 19:08 izetex

Which view(s) specifically?

mistercrunch avatar Aug 21 '17 03:08 mistercrunch

Dashboard first of all

izetex avatar Aug 22 '17 06:08 izetex

We use react-grid-layout which has a responsive grid. On small screen it has less columns (8 instead of 12 I believe) and that forces the layout to change. Dashboards may have to be designed with that in mind.

I'm not sure what else we can do to accommodate small screens, ideas are welcomed.

mistercrunch avatar Aug 22 '17 15:08 mistercrunch

Try add

<meta name="viewport" content="width=device-width, initial-scale=1.0">

to head section - may be it helps

izetex avatar Aug 22 '17 17:08 izetex

@izetex it would be nice if you can try that and open a PR if it makes things better

xrmx avatar Aug 23 '17 07:08 xrmx

Notice: this issue has been closed because it has been inactive for 242 days. Feel free to comment and request for this issue to be reopened.

mistercrunch avatar Apr 23 '18 05:04 mistercrunch

Any relevant and productive updates on the responsiveness issue?

D-Mahajan avatar Apr 15 '19 05:04 D-Mahajan

What about having some sort of special tabs for different resolutions @mistercrunch? image

We can load one or another tab based on device and will still compatible with current grid designer

gbrian avatar Jun 13 '19 08:06 gbrian

Me again... what about adding @media (max-width:800px) for tabs? Example: image

Some JS to do the effect: ScreenRecording20190614at0

gbrian avatar Jun 14 '19 07:06 gbrian

hi i am needing such ui adaptive feature @gbrian gbrian

kalimuthu123 avatar Sep 16 '19 10:09 kalimuthu123

@kalimuthu123 , currently is on-hold due to other tasks on my project. For sure I'll get back to it but can't manage now, sorry :( I'll keep you updated on this thread

gbrian avatar Sep 16 '19 10:09 gbrian

Hi @gbrian , any update on the above feature level

kalimuthu123 avatar Apr 07 '20 13:04 kalimuthu123

Hi @kalimuthu123, you find me me testing vvvb.js 😅 was on my mind for long... Is a POC to have a CMS approach dashboard creation that can benefit from templates and responsiveness at the time anyone can build their own pages. This approach aims to convert every page in a dashboard... crazy thing I'll post test results 🤞

gbrian avatar Apr 07 '20 14:04 gbrian

Promising! image

gbrian avatar Apr 08 '20 07:04 gbrian

@gbrian - how is your adventure progressing?

MacNale avatar May 28 '21 15:05 MacNale

news?

rafaeldietrich avatar Oct 10 '25 18:10 rafaeldietrich