Search code examples
reactjsantd

antd drawer disable shadow


im trying to disable a shadow in the Drawer from antd components, what im trying to disable is the shadow, i already disable the mask but i cant find way to disable the shadow, here is the shadow

enter image description here

i already tried BoxShadow inside the maskStyle and i cant find any solutions to this probles


Solution

  • You need to add this css to hide drawer box-shadow:

    .ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper {
      box-shadow: none
    }