Steps to reproduce
Create view with using table and place block.

behavior expecting
comes in screen not out of screen

But it's going to out of screen on mobile.

Comments

djsagar created an issue. See original summary.

djsagar’s picture

Status: Active » Needs work
StatusFileSize
new60.61 KB
new885 bytes

I created patch for overflow issue for mobile please review.

Thanks!

djsagar’s picture

Status: Needs work » Needs review
abhijith s’s picture

StatusFileSize
new23.62 KB
new27.58 KB
new28.42 KB
new24.76 KB

Applied patch #2 and it works fine.The table overview issue is solved by this patch.Now scrollbar will appear in tables on mobile devices. Adding screenshots below.

After patch:
after1

after2

after3

after4

RTBC +1

bogdan.rizescu’s picture

StatusFileSize
new488.89 KB
new1.24 MB

I have also tested patch #2 on Chrome and Firefox (you can see the attachments). It works well both on mobile and tablets. Good job!

imalabya’s picture

Status: Needs review » Closed (duplicate)

IMO it's a good improvement. However, there is an approved design Implement tables on Olivero proof of concept
which needs to be implemented as per the mock https://github.com/Lullabot/olivero-poc/pull/18/files

Also, there is already a discussion on tables in mobile display. Tables can create horizontal scrolling at narrow viewports in Olivero Marking it as duplicate. You can apply the patch in the mentioned issue.

Thanks

andrewmacpherson’s picture

Using display: block; directly on a HTML table element removes the table semantics from the accessibility tree.

This approach should NOT be committed without assistive tech testing.