We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b10338 commit 597141bCopy full SHA for 597141b
1 file changed
packages/api/src/normalizeStyleOptions.ts
@@ -110,7 +110,8 @@ export default function normalizeStyleOptions({
110
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 = options.scrollToEndButtonBehavior || false;
+ filledOptions.scrollToEndButtonBehavior =
114
+ typeof options.scrollToEndButtonBehavior === 'undefined' ? false : options.scrollToEndButtonBehavior;
115
filledOptions.hideScrollToEndButton = undefined;
116
}
117
0 commit comments