Skip to content

Offcanvas apparence causes a left displacement of 1px of some elements  #39221

Description

@joseantanaper

Prerequisites

Describe the issue

When click a button to show the Offcanvas element (on any of 4 sides) you can show that some elements on body are displaced 1px to left (scrollbar, form elements, dot on list elements...).
I thought that this was a problem of some of my custom css, but I check this bug in the Bootstrap Documentation site on Offcanvas section, and the effect is exactly the same.
I detect this bug on Google Chrome. BUT i have checked it on Edge and there is no such problem, there are no displacements.

Reduced test cases

https://getbootstrap.com/docs/5.3/components/offcanvas/

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions