Elements inside a form-item can cause unwanted overflow to happen (see screenshot).
Path: admin/content
Patch follows.

Focus state and input overflow seems to be fixed after #49
Only local images are allowed.

CommentFileSizeAuthor
#68 Screenshot_mobile_firefox.PNG51.99 KBgaurav-mathur
#68 screenshot_desktop_firefox.PNG22.6 KBgaurav-mathur
#68 Screenshot_mobile_crome.PNG63.41 KBgaurav-mathur
#68 Screenshot_desktop_crome.PNG29.72 KBgaurav-mathur
#62 3091497-62.patch795 bytesranjith_kumar_k_u
#60 3091497--after--patch--pic.png5.89 KBvikashsoni
#58 After-patch-mobile.png220.01 KBMadhu kumar
#58 After-patch-desktop.png49.9 KBMadhu kumar
#55 3091497.55.patch787 bytessakthivel m
#53 After Patch 3091497 Mobile.png446.98 KBchetanbharambe
#53 After Patch 3091497 Desktop.png469.71 KBchetanbharambe
#53 Before Patch 3091497 Mobile.png470.75 KBchetanbharambe
#53 Before Patch 3091497 Desktop.png525.82 KBchetanbharambe
#50 Screenshot 2021-05-21 at 12.23.54.png36.13 KBgauravvvv
#49 3091497.48.patch842 bytessakthivel m
#44 Desktop.png40.17 KBdeepalij
#44 iPad.png28.33 KBdeepalij
#44 Mobile.jpg32.51 KBdeepalij
#42 Screenshot 2020-06-23 at 8.05.02 PM.png507.5 KBkiran.kadam911
#42 Screenshot 2020-06-23 at 7.33.09 PM.png158.17 KBkiran.kadam911
#42 Screenshot 2020-06-23 at 7.32.45 PM.png440.22 KBkiran.kadam911
#42 Screenshot 2020-06-23 at 7.32.17 PM.png448.65 KBkiran.kadam911
#42 interdiff_29-42.txt856 byteskiran.kadam911
#42 3091497-42.patch842 byteskiran.kadam911
#39 3091497-after-patch.png28.42 KBindrajithkb
#30 selected_8721.png37.69 KBKondratievaS
#29 interdiff_26-29.txt736 byteskomalk
#29 3091497-29.patch1.99 KBkomalk
#29 after-patch.png102.27 KBkomalk
#29 IE11-after-patch.png297.12 KBkomalk
#27 selected_8677.png20.69 KBKondratievaS
#26 interdiff_19-26.txt910 byteskomalk
#26 3091497-26.patch1.94 KBkomalk
#26 after-patch.png108.44 KBkomalk
#26 before-patch.png104.17 KBkomalk
#26 before_patch.png110.19 KBkomalk
#21 selected_7808.png37.27 KBKondratievaS
#20 3091497-19.patch796 bytesneelam_wadhwani
#19 interdiff_18-19.txt1.36 KBneelam_wadhwani
#19 3091497-overflow-19.patch796 bytesneelam_wadhwani
#19 title.png1.73 KBneelam_wadhwani
#18 Screen Shot 2020-02-03 at 14.31.38.png10.2 KBlauriii
#16 review-3091497-patch-16-IE11.png32.8 KBpminf
#16 review-3091497-patch-16-Firefox.png33.31 KBpminf
#16 3091497-form-item-overflow-16.patch919 bytespminf
#14 3091497-form-item-overflow-13.patch879 bytespminf
#14 review-3091497-patch-14-IE11.png32.8 KBpminf
#14 review-3091497-patch-14-Firefox.png33.31 KBpminf
#10 3091497-10-form-item-overflow.patch828 bytesvisabhishek
#2 3091497-2-form-item-overflow.patch828 bytesmbroere
#5 review-3091497-patch-2-IE11.JPG71.25 KBpminf
form-item-overflow.png146.15 KBmbroere
#5 review-3091497-patch-2-Edge.JPG63.56 KBpminf

Comments

mbroere created an issue. See original summary.

mbroere’s picture

Status: Active » Needs review
StatusFileSize
new828 bytes
pminf’s picture

I will test this on Windows in current Chrome, FF, Edge and IE11.

mbroere’s picture

Issue summary: View changes
pminf’s picture

Status: Needs review » Needs work
StatusFileSize
new63.56 KB
new71.25 KB

Patch from #2 works fine in Firefox, Chrome and Edge. Unfortunately the problem still exists in IE11. Flex-box doesn't play well with "max-width".

iro’s picture

Status: Needs work » Needs review

Tested patch from #2 on macos. Works fine in latest Firefox, Chrome and Safari.

iro’s picture

Status: Needs review » Needs work
mbroere’s picture

Unfortunately i'm not able to test in IE.
But adding "flex: 1 1 auto;" to ".form-item" might do the trick.

lauriii’s picture

Project: Claro » Drupal core
Version: 8.x-2.x-dev » 8.9.x-dev
Component: User interface » Claro theme
Issue tags: +Needs reroll
visabhishek’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
StatusFileSize
new828 bytes

Just rerolled 3091497-2-form-item-overflow.patch

iro’s picture

Status: Needs review » Needs work

The IE11 issue mentioned in #5 is not addressed in the latest patch so the the problem still exists in IE11.

codewithlakshay’s picture

Assigned: Unassigned » codewithlakshay
codewithlakshay’s picture

Assigned: codewithlakshay » Unassigned
pminf’s picture

Status: Needs work » Needs review
StatusFileSize
new33.31 KB
new32.8 KB
new879 bytes

Rerolled and fixed the IE 11 issue. Good to know: IE default value for "overflow" is "visible" when using flex box. So setting it to "auto" did the trick.

Edit: gnah, patch name did not match comment number. Sorry.

pminf’s picture

pminf’s picture

Last patch failed because of wrong file paths. Let's try again.

johnpicozzi’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Works for me! RTBC +1

lauriii’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new10.2 KB

The current solutions breaks focus effect on a lot of form elements:

neelam_wadhwani’s picture

Status: Needs work » Needs review
StatusFileSize
new1.73 KB
new796 bytes
new1.36 KB

Hello,

overflow:auto was creating issue.
Removed that and it worked for all.

neelam_wadhwani’s picture

StatusFileSize
new796 bytes

Uploaded right name patch file.

KondratievaS’s picture

StatusFileSize
new37.27 KB

I still can reproduce issue in IE11 reported in #2 (result is OK in FF, Chrome, Safari, IE Edge).
But we should fix it, cause IE11 is not used on small resolutions according to https://www.drupal.org/node/3079238

IE11

KondratievaS’s picture

Status: Needs review » Reviewed & tested by the community

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 20: 3091497-19.patch, failed testing. View results

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

komalk’s picture

Assigned: Unassigned » komalk
komalk’s picture

Assigned: komalk » Unassigned
Status: Needs work » Needs review
StatusFileSize
new110.19 KB
new104.17 KB
new108.44 KB
new1.94 KB
new910 bytes

1.fixed the focus effect on a lot of form elements.
2.fixed the Element inside form-item can cause overflow.
Attached the screen shot for reference please review the patch.

KondratievaS’s picture

StatusFileSize
new20.69 KB

Tested patch from #26 and focus is NOT OK

bug

KondratievaS’s picture

Status: Needs review » Needs work
komalk’s picture

Status: Needs work » Needs review
StatusFileSize
new297.12 KB
new102.27 KB
new1.99 KB
new736 bytes
KondratievaS’s picture

StatusFileSize
new37.69 KB

Tested patch from #29 and on my side green border bug is not reproduced anymore, but fields beyond block

bug

KondratievaS’s picture

Status: Needs review » Needs work
indrajithkb’s picture

Hi,
i couldn't reproduce the #30 issue, but am feeling some issue with the table,
so i think we need to make the table scrollable.

this will fix the issue.
core/themes/claro/css/components/tables.css

table {
display: block;
overflow-x: auto;
white-space: nowrap;}
indrajithkb’s picture

komalk’s picture

Status: Needs work » Needs review

Test the patch #29 attached the screen shot for reference. i couldn't reproduce the #30 issue.
@Indrajith KB thank you for the suggestion but it's not working in this case.

indrajithkb’s picture

Hi @komalkolekar,
thanks for your #29 patch its working properly and fixing our current issue.
i was concerned about something (someone already addressed the issue with table https://www.drupal.org/project/drupal/issues/3132811 ), that's why i put my concern over here.

issue found fixed
issue after patch applied

indrajithkb’s picture

Status: Needs review » Reviewed & tested by the community
indrajithkb’s picture

indrajithkb’s picture

indrajithkb’s picture

StatusFileSize
new28.42 KB
lauriii’s picture

Status: Reviewed & tested by the community » Needs work

I can still reproduce #27 with the most recent patch

kiran.kadam911’s picture

Assigned: Unassigned » kiran.kadam911
kiran.kadam911’s picture

Assigned: kiran.kadam911 » Unassigned
Issue summary: View changes
Status: Needs work » Needs review
Issue tags: +Bug Smash Initiative
StatusFileSize
new842 bytes
new856 bytes
new448.65 KB
new440.22 KB
new158.17 KB
new507.5 KB

Kindly review the attached patch.

Removing overflow-x: auto because there is no use of it, It's creating issue for focus border of preceding-actions element(last element before action cta).

SS
With overflow-x: auto
Desktop

Mobile

Without overflow-x: auto
Desktop

Mobile

Other field overlapping is because of the result table(already mentioned in #35)

Thanks!

deepalij’s picture

Assigned: Unassigned » deepalij
deepalij’s picture

Assigned: deepalij » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new32.51 KB
new28.33 KB
new40.17 KB

Verified and tested by applying patch #42. Looks good to me.
Can be moved to RTBC.

Refer attached screenshots.

quietone’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs issue summary update

Thanks everyone for working on this! Good to see progress.

I read the issue summary and skimmed through the comments and it is difficult to know if this is fixed and what patch is to be committed. So, lets have an issue summary update using the issue summary template, the one that when using dreditor. The proposed resolution section should have before and after screenshots. There also needs to be evidence that this have been tested on the Supported browsers.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

sakthivel m’s picture

#48 Re-roll the patch for 9.3.x

sakthivel m’s picture

StatusFileSize
new842 bytes

#49 Re-roll the patch for 9.3.x

gauravvvv’s picture

StatusFileSize
new36.13 KB

Patch #49, fixes 1. input fields overflow. 2. fixes #27, focus issue of input fields.

gauravvvv’s picture

Issue summary: View changes
Status: Needs work » Needs review

Updated IS

chetanbharambe’s picture

Assigned: Unassigned » chetanbharambe
chetanbharambe’s picture

Assigned: chetanbharambe » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new525.82 KB
new470.75 KB
new469.71 KB
new446.98 KB

Verified and tested patch #49.
Patch applied successfully and looks good to me.

Testing Steps:
# Apply Claro theme from Appearance
# Goto: admin/content
# Press tab and check the focus on the Language input field

Expected Results:
# User should see an accurate focus on the Language input field while pressing the Tab key

Actual Results:
# User is not able to see an accurate focus on the Language input field while pressing the Tab key

Looks good to me.
Can be a move to RTBC.

gauravvvv’s picture

Status: Reviewed & tested by the community » Needs work

patch failed in Drupal CI

sakthivel m’s picture

Status: Needs work » Needs review
StatusFileSize
new787 bytes

#55 Fixed Custom Commands Failed, Please review the patch

Madhvi Bhatnagar’s picture

Assigned: Unassigned » Madhvi Bhatnagar
Madhvi Bhatnagar’s picture

Assigned: Madhvi Bhatnagar » Unassigned
Madhu kumar’s picture

StatusFileSize
new49.9 KB
new220.01 KB

Patch #55 Applied cleanly and User should see an accurate focus on the Language input field and unwanted overflow are removed.
Sharing screenshot for your reference.
RTBC

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

vikashsoni’s picture

StatusFileSize
new5.89 KB

Applied patch #55 in drupal-9.3.x-dev
thanks for the patch
for ref sharing screenshots...

kristen pol’s picture

#45 has not been addressed.

@vikashsoni @Madhu kumar @chetanbharambe @Gauravmahlawat @DeepaliJ @IndrajithKB and anyone else I missed who's tested:

When testing issues such as this, please note the browser(s) you are testing with. See #45 for a link to the supported browsers. Ideally, you will explain all your testing steps or at least note the browser and that you followed the testing steps in the issue summary (if provided). Thanks.

Checked the patch in #55 still applies cleanly to 9.3 and 9.4 but does not apply to 10 (see below). A separate patch will need to be created for Drupal 10.

[drupal-10.0.x-dev/10.0.x] [drupal-10.0.x-dev]$ patch -p1 < 3091497.55.patch 
patching file core/themes/claro/css/components/form.css
Hunk #1 FAILED at 29.
1 out of 1 hunk FAILED -- saving rejects to file core/themes/claro/css/components/form.css.rej
patching file core/themes/claro/css/components/form.pcss.css
Hunk #1 succeeded at 15 (offset -2 lines).
ranjith_kumar_k_u’s picture

StatusFileSize
new795 bytes

Re-rolled #55 for 10.0.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Bushra Shaikh’s picture

Assigned: Unassigned » Bushra Shaikh
kristen pol’s picture

Please see comment #61 before contributing to this issue. Thanks.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

gaurav-mathur’s picture

gaurav-mathur’s picture

Assigned: gaurav-mathur » Unassigned
StatusFileSize
new29.72 KB
new63.41 KB
new22.6 KB
new51.99 KB

I have checked the issue in crome and firefox without applying patch.
Not able to get the issue.
I am using drupa10.1.x-dev version.
Refer to screenshots.

smustgrave’s picture

Status: Needs review » Postponed (maintainer needs more info)

This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.

I'm not seeing this in Drupal 10.1. Can someone please confirm at what breakpoint they are seeing this at? and add the before screenshot to the IS.

Also #45 called for an issue summary update which still needs to happen.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

The last two comments in this issue have not been able to reproduce the problem stated in the Issue Summary. Nor have I on 11.x, firefox 114.4.0esr.

Therefore, closing as outdated. If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").

Thanks!