The tabs component in ant design and the style of a button

tabs title and Button are on the same line. After absolute positioning of button, it is found that the click event does not work on this button, and the click event is invalid.

clipboard.png

clipboard.png

.new-wrap {
    padding-right: 20px;
    position: absolute;
    right: 25px;
}

what should I do if I keep this style and hope that the click event can be executed?

Css
Dec.23,2021

has been resolved, just add a z-index attribute to new-wrap.

Menu