1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-29 00:27:37 +00:00

12.0 click search item do not close search mask (#7812)

This commit is contained in:
Michael An
2025-05-13 13:19:57 +08:00
committed by GitHub
parent 03cd8211bb
commit 04cfcfd740

View File

@@ -307,7 +307,9 @@ class Search extends Component {
};
onItemClickHandler = (item) => {
this.resetToDefault();
if (item.is_dir === true) {
this.resetToDefault();
}
this.keepVisitedItem(item);
this.props.onSearchedClick(item);
};