So far, I've found that nothing seems to work with the latest versions of the Bootstrap 5 Barrio theme and Drupal 10. Here's what I've done up to this point:
I installed the latest versions of Drupal (10) and the Bootstrap 5 Barrio theme.
I attempted to fix the "sticky-top" issue using various approaches, including commenting out the tags that encapsulate the header region and adding sticky-top to the header region through configuration hooks. Unfortunately, these methods have not resolved the issue1.
Another approach I tried was to add a function in my my_theme.theme file that checks the navbar's position and, if necessary, sets it to sticky-top. Despite this, the issue persists1.I'm currently looking for further solutions and would greatly appreciate any help. Please let me know if you have any suggestions.
Ok solved,
https://www.drupal.org/docs/8/themes/barrio-bootstrap-4-drupal-89-theme/... →here is the patch:
https://www.drupal.org/project/bootstrap_sass/issues/3337961 💬 JS error with affix Active