Skip to content

[BUG] Thicker borders cause arrow border to overlap container #1262

@reintroducing

Description

@reintroducing

Bug description
When you apply thicker borders, its very visible that the tips of the border, since they are square, end up overlapping into the content area. I've attached screenshots showing the problem. One is with a 20px border which is contrived but obviously shows the issue. The other is a 4px border where you can still see the issue. In my app, we are using a 3px border but it's still visible if you look closely enough.

Version of Package
v5.30.0

To Reproduce
Just set the border to something like 8px solid red.

Expected behavior
The tips of the border should go underneath the container.

Screenshots

Image Image

Desktop (please complete the following information if possible or delete this section):

  • OS: MacOS
  • Browser Chrome
  • Version 144.0.7559.59
  • Frameworks React 19.2.4

Smartphone (please complete the following information if possible or delete this section):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]
  • Frameworks [e.g. React 18, Next.js 13]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions