Skip to content

Commit 6a5fc7b

Browse files
committed
Fix hideScrollToEndButton
1 parent 597141b commit 6a5fc7b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/api/src/normalizeStyleOptions.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,7 @@ export default function normalizeStyleOptions({
108108
if (hideScrollToEndButton) {
109109
hideScrollToEndButtonDeprecation();
110110

111-
// Only set if the "scrollToEndButtonBehavior" is not set.
112-
// If it has been set, the developer should know the older "hideScrollToEndButton" option is deprecated.
113-
filledOptions.scrollToEndButtonBehavior =
114-
typeof options.scrollToEndButtonBehavior === 'undefined' ? false : options.scrollToEndButtonBehavior;
111+
filledOptions.scrollToEndButtonBehavior = false;
115112
filledOptions.hideScrollToEndButton = undefined;
116113
}
117114

0 commit comments

Comments
 (0)