Needs work
Project:
Bootstrap Styles
Version:
2.0.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2021 at 20:41 UTC
Updated:
16 Feb 2023 at 15:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jordik commentedComment #3
aaronchristian commentedThanks @JordiK,
We'll slot in some time to review this and see if we can reproduce this one.
Comment #4
jordik commentedThank you Aaron! Tell me if you need further info in order to reproduce this.
Comment #5
madalozzo commentedHello, I was able to replicate this one. I have investigated it and I believe I have found what's going on here.
This is happening because the Bootstrap 3 theme has a preprocess on src/Plugin/Preprocess/FormElement.php that places the input inside the label, so the css on Bootstrap Styles is not applying the active background. The inputs are actually working fine, it's just that they seem unresponsive because the background stays the same.
I have created a patch for it, but the changes to solve this are on the Bootstrap Styles module, so I'm not sure on how to proceed, as this is my first contribution.
Comment #6
c.altosax commentedSomeone posted a similar issue under under the Bootstrap Styles module. Maybe that would be a better place to discuss this?
Comment #7
freddy rodriguezMandalozzo:
https://www.drupal.org/community/contributor-guide/find-a-task
Comment #8
drupgirl commentedThanks this fixed some of the issues. Very helpful.
I patched the mod with curl and put it in the custom directory. The Backgroud tab Image section is still pretty messed up, but lots of improvement. Thank you!
Comment #9
justclint commentedthanks @Madalozzo for pointing out the src/Plugin/Preprocess/FormElement.php
I was able to get this working by copying that into my subtheme and just commenting out the part that moves the checkboxes and radios.
Had to refactor some of our checkbox and radio styles but very minimal.
This seems to be the easiest way to get it working with https://www.drupal.org/project/bootstrap
Comment #10
mahmoud-zayed commentedI have tested the patch, container still not working.
Comment #11
aitala commentedSame issue with the container selector not working.
Eric