搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox 87 TextArea max-height 2px

  • 無回覆
  • 1 有這個問題
  • 7 次檢視
more options

Since updating to Firefox 87, when I enter characters in a textarea, it gets minimized to 2px and maximized to max-height for each character I enter.

[ default textarea in Chrome ] <textarea name="template" dojoattachpoint="focusNode,containerNode" id="template" class="tempFldClass dijitTextArea" title="Comments" tabindex="0" widgetid="template" spellcheck="false" style="width: 99%; overflow: auto hidden; box-sizing: border-box; height: 38px; max-height: 38px;"></textarea>

[ default textarea in Firefox : height is set to auto ] <textarea name="template" dojoattachpoint="focusNode,containerNode" id="template" class="tempFldClass dijitTextArea" style="width: 99%; overflow: auto hidden; box-sizing: border-box; height: auto;" title="Comments" tabindex="0" widgetid="template" rows="3"></textarea>

[ Entering a character in the textarea in Firefox ] -height Value changes -max-height shows up with a 2px Value

<textarea name="template" dojoattachpoint="focusNode,containerNode" id="template" class="tempFldClass dijitTextArea" style="width: 99%; overflow: auto hidden; box-sizing: border-box; height: 57px; max-height: 2px;" title="Comments" tabindex="0" widgetid="template" rows="3"></textarea>


I've been trying to use userContent.css to workaround using a fixed max-height Value, but it's not working

Since updating to Firefox 87, when I enter characters in a textarea, it gets minimized to 2px and maximized to max-height for each character I enter. [ default textarea in Chrome ] <textarea name="template" dojoattachpoint="focusNode,containerNode" id="template" class="tempFldClass dijitTextArea" title="Comments" tabindex="0" widgetid="template" spellcheck="false" style="width: 99%; overflow: auto hidden; box-sizing: border-box; '''height: 38px; max-height: 38px;'''"></textarea> [ default textarea in Firefox : height is set to auto ] <textarea name="template" dojoattachpoint="focusNode,containerNode" id="template" class="tempFldClass dijitTextArea" style="width: 99%; overflow: auto hidden; box-sizing: border-box; '''height: auto;'''" title="Comments" tabindex="0" widgetid="template" rows="3"></textarea> [ Entering a character in the textarea in Firefox ] -height Value changes -max-height shows up with a 2px Value <textarea name="template" dojoattachpoint="focusNode,containerNode" id="template" class="tempFldClass dijitTextArea" style="width: 99%; overflow: auto hidden; box-sizing: border-box; '''height: 57px; max-height: 2px;'''" title="Comments" tabindex="0" widgetid="template" rows="3"></textarea> I've been trying to use userContent.css to workaround using a fixed max-height Value, but it's not working

由 arnar.ringheim 於 修改