
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
Comment | File | Size | Author |
---|---|---|---|
#68 | Screenshot_mobile_firefox.PNG | 51.99 KB | gaurav-mathur |
#68 | screenshot_desktop_firefox.PNG | 22.6 KB | gaurav-mathur |
#68 | Screenshot_mobile_crome.PNG | 63.41 KB | gaurav-mathur |
#68 | Screenshot_desktop_crome.PNG | 29.72 KB | gaurav-mathur |
#62 | 3091497-62.patch | 795 bytes | ranjith_kumar_k_u |
Comments
Comment #2
mbroere CreditAttribution: mbroere at ronder commentedComment #3
pminfI will test this on Windows in current Chrome, FF, Edge and IE11.
Comment #4
mbroere CreditAttribution: mbroere at ronder commentedComment #5
pminfPatch 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".
Comment #6
iro CreditAttribution: iro at Point Blank commentedTested patch from #2 on macos. Works fine in latest Firefox, Chrome and Safari.
Comment #7
iro CreditAttribution: iro at Point Blank commentedComment #8
mbroere CreditAttribution: mbroere at ronder commentedUnfortunately i'm not able to test in IE.
But adding "flex: 1 1 auto;" to ".form-item" might do the trick.
Comment #9
lauriiiComment #10
visabhishek CreditAttribution: visabhishek as a volunteer and for Melity commentedJust rerolled 3091497-2-form-item-overflow.patch
Comment #11
iro CreditAttribution: iro at Point Blank commentedThe IE11 issue mentioned in #5 is not addressed in the latest patch so the the problem still exists in IE11.
Comment #12
codewithlakshay CreditAttribution: codewithlakshay at OpenSense Labs for DrupalFit commentedComment #13
codewithlakshay CreditAttribution: codewithlakshay at OpenSense Labs for DrupalFit commentedComment #14
pminfRerolled 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.
Comment #15
pminfComment #16
pminfLast patch failed because of wrong file paths. Let's try again.
Comment #17
johnpicozziWorks for me! RTBC +1
Comment #18
lauriiiThe current solutions breaks focus effect on a lot of form elements:
Comment #19
neelam_wadhwani CreditAttribution: neelam_wadhwani at Valuebound for Valuebound commentedHello,
overflow:auto was creating issue.
Removed that and it worked for all.
Comment #20
neelam_wadhwani CreditAttribution: neelam_wadhwani at Valuebound for Valuebound commentedUploaded right name patch file.
Comment #21
KondratievaS CreditAttribution: KondratievaS at Skilld commentedI 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
Comment #22
KondratievaS CreditAttribution: KondratievaS at Skilld commentedComment #25
komalk CreditAttribution: komalk at Material for Drupal India Association commentedComment #26
komalk CreditAttribution: komalk at Material for Drupal India Association commented1.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.
Comment #27
KondratievaS CreditAttribution: KondratievaS at Skilld commentedTested patch from #26 and focus is NOT OK
Comment #28
KondratievaS CreditAttribution: KondratievaS at Skilld commentedComment #29
komalk CreditAttribution: komalk at Material for Drupal India Association commentedComment #30
KondratievaS CreditAttribution: KondratievaS at Skilld commentedTested patch from #29 and on my side green border bug is not reproduced anymore, but fields beyond block
Comment #31
KondratievaS CreditAttribution: KondratievaS at Skilld commentedComment #32
indrajithkb CreditAttribution: indrajithkb at Material commentedHi,
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
Comment #33
indrajithkb CreditAttribution: indrajithkb at Material commentedComment #34
komalk CreditAttribution: komalk at Material for Drupal India Association commentedTest 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.
Comment #35
indrajithkb CreditAttribution: indrajithkb at Material commentedHi @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

Comment #36
indrajithkb CreditAttribution: indrajithkb at Material commentedComment #37
indrajithkb CreditAttribution: indrajithkb at Material commentedComment #38
indrajithkb CreditAttribution: indrajithkb at Material for Drupal India Association commentedComment #39
indrajithkb CreditAttribution: indrajithkb at Material for Drupal India Association commentedComment #40
lauriiiI can still reproduce #27 with the most recent patch
Comment #41
kiran.kadam911Comment #42
kiran.kadam911Kindly 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!
Comment #43
deepalij CreditAttribution: deepalij at QED42 for Drupal India Association commentedComment #44
deepalij CreditAttribution: deepalij at QED42 for Drupal India Association commentedVerified and tested by applying patch #42. Looks good to me.
Can be moved to RTBC.
Refer attached screenshots.
Comment #45
quietone CreditAttribution: quietone as a volunteer commentedThanks 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.
Comment #48
sakthivel m CreditAttribution: sakthivel m at QED42 commented#48 Re-roll the patch for 9.3.x
Comment #49
sakthivel m CreditAttribution: sakthivel m at QED42 commented#49 Re-roll the patch for 9.3.x
Comment #50
gauravvvv CreditAttribution: gauravvvv at OpenSense Labs commentedPatch #49, fixes 1. input fields overflow. 2. fixes #27, focus issue of input fields.
Comment #51
gauravvvv CreditAttribution: gauravvvv at OpenSense Labs commentedUpdated IS
Comment #52
chetanbharambe CreditAttribution: chetanbharambe at QED42 for Drupal India Association commentedComment #53
chetanbharambe CreditAttribution: chetanbharambe at QED42 for Drupal India Association commentedVerified 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.
Comment #54
gauravvvv CreditAttribution: gauravvvv at OpenSense Labs commentedpatch failed in Drupal CI
Comment #55
sakthivel m CreditAttribution: sakthivel m at QED42 for Drupal India Association commented#55 Fixed Custom Commands Failed, Please review the patch
Comment #56
Madhvi Bhatnagar CreditAttribution: Madhvi Bhatnagar at QED42 for Drupal India Association commentedComment #57
Madhvi Bhatnagar CreditAttribution: Madhvi Bhatnagar commentedComment #58
Madhu kumar CreditAttribution: Madhu kumar as a volunteer and at Zyxware Technologies commentedPatch #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
Comment #60
vikashsoni CreditAttribution: vikashsoni as a volunteer and at Zyxware Technologies commentedApplied patch #55 in drupal-9.3.x-dev
thanks for the patch
for ref sharing screenshots...
Comment #61
kristen pol#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.
Comment #62
ranjith_kumar_k_u CreditAttribution: ranjith_kumar_k_u at Zyxware Technologies commentedRe-rolled #55 for 10.0.
Comment #64
Bushra Shaikh CreditAttribution: Bushra Shaikh at QED42 for Drupal India Association commentedComment #65
kristen polPlease see comment #61 before contributing to this issue. Thanks.
Comment #67
gaurav-mathur CreditAttribution: gaurav-mathur at Dotsquares Ltd. commentedComment #68
gaurav-mathur CreditAttribution: gaurav-mathur at Dotsquares Ltd. commentedI 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.
Comment #69
smustgrave CreditAttribution: smustgrave at Mobomo commentedThis 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.
Comment #71
quietone CreditAttribution: quietone as a volunteer commentedThe 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!