Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect "Rotate Screen" Message in Comparison Mode on PC When Resizing Window Vertically #2457

Open
1 task done
nartovm opened this issue Oct 28, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@nartovm
Copy link
Contributor

nartovm commented Oct 28, 2024

EPAM AI DIAL chat version

0.20.0-rc

What happened?

Description

When using comparison mode on a PC with a regular Google Chrome browser, resizing the window vertically to occupy half of a 4K+ screen incorrectly triggers the message "Please rotate the screen to use compare mode."
This message should only appear on mobile devices, not on PCs.
However, resizing the window to be even smaller (occupying a quarter of the screen) makes the message disappear, and the comparison mode becomes available.
The functionality should not be dependent on the window ratio.

Steps to Reproduce:

  1. Open the Dial web application on a PC with a 4K+ resolution screen using Google Chrome.
  2. Log in and navigate to the chat section.
  3. Open two conversations and activate comparison mode.
  4. Resize the browser window vertically to occupy the left or right half of the screen with a high resolution.

Expected Behavior:

The comparison mode should remain functional, and no "Rotate Screen" message should appear.

Actual Behavior:

The message "Please rotate the screen to use compare mode" appears, incorrectly suggesting that the feature is unavailable in the current window configuration.
The comparison mode becomes unavailable until the window is resized to occupy a quarter of the screen or less.

Environment:

Operating System: Windows 11
Browser: Google Chrome 130.0.6723.70
Screen Resolution: 4K+ (3840*2560)

Confidential information

  • I confirm that do not share any confidential information
@nartovm nartovm added the bug Something isn't working label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant