3. Click back button on mini app
2. back_button_pressed event is triggered: [Telegram.WebView] < receiveEvent back_button_pressed null without clicked text
### Expected Behavior
callback should be called and log clicked once the back button is clicked
Telegram Application
Telegram for iOS, Telegram for macOS
Describe the Bug
I'm only using @telegram-apps/sdk-react 2.0.9 <or 2.0.13> for developing mini app with Nextjs 15.0.2. no telegram-web-app.js
After mounting backButton and set callback for onClick event, tapping on the button does trigger the event but the callback isn't called
Devices tested: Iphone 14 plus & Telegram 11.4 - BUG Macbook m1max & Telegram 11.4.269392 AppStore- BUG
To Reproduce
Steps to reproduce the behavior:
...
useEffect(() => { backButton.show.ifAvailable(); backButton.onClick.ifAvailable(()=>{ console.log("------ onPopRouter "); }); }, []);