undefinedfix
Sign in

The style of tabs component and a button in Ant Design

snoopster101 edited in Sat, 14 May 2022

The tabs title and button are on the same line. After locating the button absolutely, 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;
}

How to keep this style and hope that the click event can be executed?

1 Replies
wpqwi
commented on Sat, 14 May 2022

It has been solved. Just add a Z-index attribute to the new wrap.

lock This question has been locked and the reply function has been disabled.