Forum Discussion

Eliot_Cole's avatar
Eliot_Cole
Iron Contributor
Jan 18, 2024

Firefox - List and Library Comments - Do Not Work / Are Unavailable / Unable To Use Or Enter Text

Incident Summary

Unable to enter text into Comments for SharePoint List or Library items.

 

Incident Description

When trying to enter a comment on a SharePoint list the comment box is not able to be filled in.

 

Whenever you tap on it it does nothing, even if you start typing.

 

Screenshots, will not assist, here.

 

Comments are easily entered in EDGE browser and EDGE Dev.

 

Incident Cause

Unclear, but it may just be that the contenteditable attribute is wrongly set (see below).

 

So, yeah, obviously I do not know for sure. However, if it is not the attribute, then I suspect that the javascript has something to do with it. I could not find any obvious CSS factors at play here.

 

Potential Contributing Factor - contenteditable

I did a little bit of digging, and it looks like the 'contenteditable' attribute is wrongly set on the DIV for the text input.

 

This is currently set to a "plaintext-only" value:

<div class="od-addNewCommentTextField-mentionableTextBox" placeholder="@mention or comment" tabindex="0" role="textbox" aria-disabled="false" aria-label="Comment input" contenteditable="plaintext-only"></div>

When I set this to a "true" value the ability to enter comments in Firefox is enabled.

<div class="od-addNewCommentTextField-mentionableTextBox" placeholder="@mention or comment" tabindex="0" role="textbox" aria-disabled="false" aria-label="Comment input" contenteditable="true"></div>

 

Further Information

If this assists further, I hope that it is useful.

Spoiler

Browsers Used

The following browsers were used for testing:

BrowserVersion
Firefox Nightly123.0a1 (2024-01-17)
Edge for Business121.0.2277.65 

 

Operating System

I'm using Windows 11 latest updates all around.

 

No RepliesBe the first to reply

Resources