Hi @Diluka Hewage , thanks for letting us know about this issue. This issue was also reported here: https://github.com/OfficeDev/office-js/issues/2993. I'll paste the answer over here as well.
There is an issue with api when ITP is enabled which is by default in safari. We have put this in our backlog. Unfortunately, we do not have any timelines to share at this point.