When silently renewing token using @okta/okta-react 3.0.10 it refreshes the whole page

okta-react: 3.0.10
okta-signin-widget: 3.9.2

Currently application is reloaded when it’s trying to get the refresh access token, hence losing all the changes on active page. The app used to silently refresh and get the updated token, but recently its having this refresh issue.

I’m using .getAccessToken() method, which returns the promise, and if it detects a token has expired, it will refresh and return a new one. Reference:

I have also enabled EA token rotation feature, but no luck.

Any help would be appreciated.