Skip to content

Commit

Permalink
docs: clarify returning null to hide empty builder
Browse files Browse the repository at this point in the history
  • Loading branch information
clragon authored Nov 25, 2024
1 parent eb2f763 commit db6ece5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ Additionally, various changes have been made to the API surface to make the pack
- `intercepting`: This is now always true, since it doesnt interfere on mobile platforms and generally has no downsides.
- `onSuggestionsBoxToggle`: You can subscribe to the `SuggestionsController` to get notified when the suggestions box is toggled.
- `ignoreAccessibleNavigation`: The new `Overlay` code no longer requires to act differently when accessibility is enabled.
- `minCharsForSuggestions`: You can return an empty list from `suggestionsCallback` instead.
- `minCharsForSuggestions`: You can return `null` from `suggestionsCallback` instead.
- `animationStart`: You can use the animation in the builder and map it to customise this.
- `autoFlipListDirection`: This is now always true. You can use the list builder to disable this behavior.
- `getImmediateSuggestions`: You can use the `debounceDuration` to achieve the same effect.
Expand Down

0 comments on commit db6ece5

Please sign in to comment.