Skip to content

Modern SharePoint Online Page: jump to middle (focus) #1394

@vsusloparov

Description

@vsusloparov

Hello,

I added the iframe with custom WebChat to middle of modern SPO page. When I reloading the page SP page jumping to middle. I was checking custom html page that initialized the WebChat js plugin. Without WebChat plugin on page it's working right - page not jumps to the middle. After it I checked the MS iframe from channels panel of "Channel registration" application (or App Bot Web) of Azure portal. I got the same result - the page was jumping to the middle (to iframe location).

I found the similar issue with SPO WP that was fixed two or three months ago. In addition, I found question of StackOwerflow: "Bot framework web chat channel steals page focus", the answer was not helpful to me. We will open the MS SPO support ticket for checking the issue from SPO side.

I don't see the 'focus' or 'blur' events in custom chat bot page. Is it possible that issue can be repaired from WebChat side?

MS Iframe example:

<iframe src="https://webchat.botframework.com/embed/Omnibot_deve?s=xxxxxxxxxxxxxxxxxxxx" style="min-width: 400px; width: 100%; min-height: 500px;" width="100%" height="500"></iframe>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions