codebattle icon indicating copy to clipboard operation
codebattle copied to clipboard

Bug: After the match is over, the menu and buttons are displayed incorrectly on the mobile version

Open FROSTECKI31 opened this issue 6 months ago • 0 comments

Summary

After finishing a match with a bot, in the mobile version, when you press the “RUN” button to play your code, the menu with the buttons “Return to game”, “Opponent has left”, “Back to home” starts blinking on top, respectively these buttons are not active.

Reproduction steps

1. Open the project page https://codebattle.hexlet.io/
2. Authorize
3. Open the DevTools developer tool (F12)
4. In the developer toolbar select toggle divice toolbar (ctr+shfit+m)
5. Select Iphone SE (for example)
6. Start the game with the bot at any level.
7. Finish the game.
8. Press the RUN button to play your code.

Expected result

The code should play correctly and after the end of the code playback, a menu should appear with the possibility to select the function after the match, namely “Return to game”, “Back to home”

Actual result

When you press the “RUN” button to play a previously written code, the menu blinks over the code without the ability to select the function that the menu provides.

https://github.com/user-attachments/assets/bc47fd17-2b09-43bd-ad3e-1f2c8225f9c8

Browsers

Chrome

OS

Windows

Current version

8a20565

FROSTECKI31 avatar Aug 27 '24 13:08 FROSTECKI31