[bug]: The onClear callback of SubNavHeader was not triggered #1528
Labels
issue: bug
Issue reporting a bug
source: design-system
relates to design-system package
status: pending reproduction
Waiting for free time to reproduce the issue, or more information
Milestone
What version of strapi-design-system are you using?
node:v18.19.0
browser:Google
@strapi/design-system: 1.9.0
What's Wrong?
When clicking on x,The onClear callback of SubNavHeader was not triggered ,And the components on the official content manager also have the same issue
![image](https://private-user-images.githubusercontent.com/58075959/293300904-2252a32f-f420-4197-a619-80fcd852615c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg2MTc0MDgsIm5iZiI6MTcxODYxNzEwOCwicGF0aCI6Ii81ODA3NTk1OS8yOTMzMDA5MDQtMjI1MmEzMmYtZjQyMC00MTk3LWE2MTktODBmY2Q4NTI2MTVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE3VDA5MzgyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2MzZkOWMyNDQwNmQyZTBhNDU2Mjk2YWM4YThhNjQ2ZTgwYzU2ODdkNmY2MjEwZGU1MmU1NTNjNzA3ZGVjNzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Sd-47bvhMef1kOaCc0GcnmVS9kG_NyKCx6-RNLx_JyI)
To Reproduce
1.npx create-strapi-app@latest my-project --quickstart
2.npm run develop
3.try search and clicking on x
Expected Behaviour
trigger the onClear callback
The text was updated successfully, but these errors were encountered: