Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- Fixed VoiceOver/TalkBack not announcing the clear text button.

## [2.0.1] - 2025-12-15

- Updated react-native-svg to v15.12.1. This addresses compatibility issues with React Native 0.78 and later versions.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gallery-text-filter-native",
"widgetName": "GalleryTextFilter",
"version": "2.0.1",
"version": "2.0.2",
"license": "Apache-2.0",
"copyright": "© Mendix Technology BV 2022. All rights reserved.",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</Svg>
);

useEffect(() => props.updateFilters?.(value), [value]);

Check warning on line 47 in packages/pluggableWidgets/gallery-text-filter-native/src/components/FilterComponent.tsx

View workflow job for this annotation

GitHub Actions / Unit tests

React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect

useEffect(() => {
setValueInput(props.value ?? "");
Expand Down Expand Up @@ -95,6 +95,8 @@
/>
{value !== "" ? (
<TouchableOpacity
accessibilityRole="button"
accessibilityLabel="Clear text"
testID={`${props.name}-clear-text-button`}
onPress={onPressClearTextIcon}
style={props.styles?.textInputClearIcon}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="GalleryTextFilter" version="2.0.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="GalleryTextFilter" version="2.0.2" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="GalleryTextFilter.xml" />
</widgetFiles>
Expand Down
Loading