# Opening usercards changes the zoom

**URL:** https://meta.discourse.org/t/opening-usercards-changes-the-zoom/309665
**Category:** UX
**Tags:** completed, tablet, user-card
**Created:** [May 28, 2024, 7:09am UTC](https://meta.discourse.org/t/opening-usercards-changes-the-zoom/309665 "2024-05-28T07:09:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [May 28, 2024, 7:09am UTC](https://meta.discourse.org/t/opening-usercards-changes-the-zoom/309665/1 "2024-05-28T07:09:59Z")

</div>

I noticed on some forums that when you open a usercard, the entire page is zoomed out.

  
I couldn’t reproduce the problem here because of the usercard redesign experiment, and somehow on [try.discourse.org](http://try.discourse.org) no zoom happened as well. The usercard was partly off-screen.  
 ![image showing usercard being partly off-screen](https://global.discourse-cdn.com/meta/original/4X/2/d/a/2da87f7826ec78638bd7fc0d04427b12545d4cb0.jpeg)

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [May 28, 2024, 2:56pm UTC](https://meta.discourse.org/t/opening-usercards-changes-the-zoom/309665/2 "2024-05-28T14:56:11Z")

</div>

No repro on Chrome or Safari macOS on the Rails forums.

What operating system are you on? The bottom bar in your video:

 ![The image shows three vertical line icons and two square-shaped icons, one of which is an outline and the other is a solid shape. These minimalist UI icons or controls are often found on media players or digital interfaces for pausing, playing, or navigating content. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/e/b/4/eb497f6fab62cf1d323eea564ab216bb66b075c1.png)

makes me think it may be an Android tablet, possibly?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [May 28, 2024, 3:21pm UTC](https://meta.discourse.org/t/opening-usercards-changes-the-zoom/309665/3 "2024-05-28T15:21:28Z")

</div>

The screencast was taken on my Android tablet, but the issue of usercards enlarging the window is not limited to my tablet. I can also reproduce it on Windows using Edge, Chrome and Firefox.

  

  

Maybe it’s the size of the window? I tried with quite small windows.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [May 28, 2024, 3:35pm UTC](https://meta.discourse.org/t/opening-usercards-changes-the-zoom/309665/4 "2024-05-28T15:35:07Z")

</div>

This is slightly different, and I can repro. The card expands beyond the window available window size and it causes the viewport to have a scrollbar. On smaller windows, it’s not ideal, but it is not a new regression, I believe that’s how user cards have been for a while.

I don’t see a zooming issue in these last screen recordings.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [May 28, 2024, 5:07pm UTC](https://meta.discourse.org/t/opening-usercards-changes-the-zoom/309665/5 "2024-05-28T17:07:58Z")

</div>

No on desktop there is no zoom, but the window size is changed by the user card.  
This causes automatic resizing on Android tablets using Chrome in desktop mode, which became the default for some tablets [some months ago](https://developer.chrome.com/blog/desktop-mode). That is probably the reason why I had the impression it was a new regression.

I will just tell my tablet that it is a bad idea for Discourse forums to use desktop mode and add all forums to the exceptions list, so it requests the mobile site.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [July 11, 2024, 8:17am UTC](https://meta.discourse.org/t/opening-usercards-changes-the-zoom/309665/6 "2024-07-11T08:17:03Z")

</div>

Fixed 🎉  
[https://github.com/discourse/discourse/pull/27774](https://github.com/discourse/discourse/pull/27774)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 13, 2024, 7:00am UTC](https://meta.discourse.org/t/opening-usercards-changes-the-zoom/309665/7 "2024-07-13T07:00:30Z")

</div>

This topic was automatically closed after 46 hours. New replies are no longer allowed.
