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.
10,039 questions
{count} votes

9 answers

Sort by: Most helpful
  1. Miguel Oyarzo 1 Reputation point
    2022-05-09T05:51:18.173+00:00

    yeah, useless if it cannot scroll horizontally

    0 comments No comments

  2. Jon Holt 1 Reputation point
    2022-05-18T17:17:16.19+00:00

    Same issue on desktop 1.5.00.11163 (64-bit) here - no horizontal scroll bar present, tried resizing teams window to make sure wasn't just a repaint issue.

    Copy & Paste of blocks is very janky as well - no simple r-click shortcut (at least for Powershell), and pasting into Notepad++ didn't work with snippet, but did work for VS Code.

    0 comments No comments

  3. mudassar javed 1 Reputation point
    2022-05-23T20:41:21.363+00:00

    yup same here , Microsoft Teams Version 1.5.00.11163 (64-bit). its just hard to believe that they are neglecting this situation, how ? !!!

    0 comments No comments

  4. David Dyck 6 Reputation points
    2022-08-19T15:09:56.393+00:00

    yep - seems to wrap after 97 characters - even at different zoom levels :-(

    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890

        10        20        30        40        50        60        70        80        90       100  
    

    232936-image.png

    It is interesting that when entering the code snippet a horizontal scroll bar is use!

    232902-image.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.