formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

Data grid component responsive design

Open fadelsahmarani opened this issue 4 years ago • 8 comments

Environment

  • Hosting type
    • [x] Local deployment
  • Formio.js version: v4.13.0-rc.6
  • Frontend framework: JavaScript
  • Browser: chrome
  • Browser version: latest

Steps to Reproduce

  1. Drag and drop a data grid component
  2. Add up to 6 7 components inside

Expected behavior

on small screen scroll must be added image

Observed behavior

on small screen without scroll image

fadelsahmarani avatar Jan 20 '21 12:01 fadelsahmarani

Hello @fadelsahmarani,

We are not able to replicate this issue on our side. Can you provide a JSFiddle so that we can try and replicate it?

Looking forward to your response.

Thank you!

wag110894 avatar Jan 22 '21 19:01 wag110894

Dear, 600e76906c552bf551b3f2b2 here is sandbox of this issue but you must make your browser to the smallest screen image Knowing that grid have more columns like this: image

fadelsahmarani avatar Jan 25 '21 07:01 fadelsahmarani

I am not able to replicate on the sandbox using chrome. Video: https://share.getcloudapp.com/8LukBJoD Version 88.0.4324.96

wag110894 avatar Jan 25 '21 14:01 wag110894

Dear @wag110894 , I appreciate your reply kindly note my fix in the video uploaded Video: https://share.getcloudapp.com/p9u8gkAR .formio-component-dataGrid{ overflow: auto; } but this may affect another inputs inside data grid but that's my try

fadelsahmarani avatar Jan 25 '21 17:01 fadelsahmarani

Hello @fadelsahmarani,

Great to see you got the issue resolved!

wag110894 avatar Jan 27 '21 14:01 wag110894

Hello @wag110894 , yes but affects the other components like dropdown will be opened under the data grid sandbox: 60118251410ebf2a0c519310 image

fadelsahmarani avatar Jan 27 '21 15:01 fadelsahmarani

Any update on this? Dropdown in datagrid is making the whole datagrid wonky.

afirulaf avatar Jun 15 '21 08:06 afirulaf

Is there any update on this at all?? I used the overflow: auto; CSS rule in my DataGrid, but I couldn't get past the issue of the dropdown that will be opened under the DataGrid.

Untitled

kkaragki avatar May 05 '22 09:05 kkaragki

Choice Js select component will have this overflow issue. If you use HTML 5 select component then the issue should be resolved. But again this is not the solution because there are cases where you might need choice Js select component.

nazmul-prince avatar Jan 01 '23 02:01 nazmul-prince

We're currently addressing a backlog of GitHub issues. Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!

olgabann avatar Feb 07 '24 14:02 olgabann