chakra-ui icon indicating copy to clipboard operation
chakra-ui copied to clipboard

borderStyle ignored on Divider theme

Open mhamid3d opened this issue 1 year ago • 1 comments

Description

When I set the borderStyle to 'dashed' for Dividers in my extended theme, the Dividers are still showing as solid.

Link to Reproduction

https://codesandbox.io/p/sandbox/chakra-divider-border-theme-l2j5v8

Steps to reproduce

  1. Extend the theme for Divider component
  2. Change borderStyle in baseStyle
  3. Create divider component

Chakra UI Version

2.8.1

Browser

Microsoft Edge

Operating System

  • [ ] macOS
  • [X] Windows
  • [ ] Linux

Additional Information

Interestingly, with Menu divider multipart theme, this is not an issue and borderStyle actually works.

mhamid3d avatar Feb 22 '24 15:02 mhamid3d

For me is a bug.

I try for differents ways, but not work.

pdroamaral avatar Feb 23 '24 18:02 pdroamaral