When using a small browser window to view Stories, Instagram uses another layout. The reply box is below the video. You can click on the left and right side of the video to move back and forth in the Story. This is only present in mobile view.
Our normal Story modifications won't work. The invisible click-areas overlay the video controls and the user would accidentally move in the Story. Also since we have moved the reply box up, it now overlays our video controls.
This PR fixes all these issues by detecting and treading Stories in mobile layout as its own mode.
When using a small browser window to view Stories, Instagram uses another layout. The reply box is below the video. You can click on the left and right side of the video to move back and forth in the Story. This is only present in mobile view.
Our normal Story modifications won't work. The invisible click-areas overlay the video controls and the user would accidentally move in the Story. Also since we have moved the reply box up, it now overlays our video controls.
This PR fixes all these issues by detecting and treading Stories in mobile layout as its own mode.