Missing horizontal scrollbar when using code snippet

Mateusz 96 Reputation points
2022-03-25T05:58:14.413+00:00

Hello Community!

Recently my Teams desktop app has been updated and I see some strange issue. When posting a code snippet (either by me or by anyone else) there is no horizontal scrollbar if text wrapping is disabled (as you can see below). As an effect only part of code snippet is visible. Interestingly enough the problem appears on Web Teams version as well :/ My desktop app version is 1.5.00.5967 (64-bit). Is anyone facing the same issue? How to solve it? What I've tried:

  • clearing Teams cache
  • reinstalling entire application
  • checking Web Teams (the same issue...)

186831-image.png

Any help would be great!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,329 questions
{count} votes

9 answers

Sort by: Most helpful
  1. Meeple142 11 Reputation points
    2022-05-05T16:11:11.46+00:00

    I agree the lack of a horizontal scroll bar almost makes snippets useless.

    2 people found this answer helpful.
    0 comments No comments

  2. Owen Cail 11 Reputation points
    2022-08-19T14:30:18.417+00:00

    Coming back to this later in 2022, apparently the solution was to simply auto-wrap everything. I can see characters past the end of the line on a new line which is WRONG. I need the code snippets to NOT auto-wrap.
    232971-image.png

    2 people found this answer helpful.
    0 comments No comments

  3. mqulbain 6 Reputation points
    2022-04-22T18:35:32.99+00:00

    Hard to imagine this issue exists, but we see the same thing. Code snips seem pretty useless for strings longer than 90-100 chars (i didn't count exactly)

    1 person found this answer helpful.
    0 comments No comments

  4. Mulholland, Matthew 1 Reputation point
    2022-04-28T17:08:22+00:00

    Any progress on this?

    0 comments No comments

  5. David Dyck 6 Reputation points
    2022-05-01T23:41:44.193+00:00

    Sadly, I'm seeing this also - I shared a code snippet, but the lines were longer than the size of the snippet windows
    and there was no way for the other user to see it

    was able to copy / paste the snippet into notepad to view it
    so it's 'just' a display issue

    I would expect it to be reproduceable, and that there should be a test case that fails
    ( I guess I would assume it would be a requirement that reasonable snippets should be viewable in teams )

    The code type was set to C

    0 comments No comments