Skip to content

Commit 2100bbc

Browse files
committed
chore: Only responsive need fixed position
1 parent 695dad0 commit 2100bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Overflow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function Overflow<ItemType = any>(
206206
const displayRest = restReady && !!omittedItems.length;
207207

208208
let suffixStyle: React.CSSProperties = {};
209-
if (suffixFixedStart !== null) {
209+
if (suffixFixedStart !== null && isResponsive) {
210210
suffixStyle = {
211211
position: 'absolute',
212212
left: suffixFixedStart,

0 commit comments

Comments
 (0)