Có vẻ như việc gói từ không còn hoạt động cho các phần tử văn bản trong IE 11. Trong IE 10 trở về trước, gói FF, Safari và Chrome hoạt động như mong đợi.Gói từ Internet Explorer 11 không hoạt động
IE 11 không triển khai bất kỳ từ gói nào. Tôi đã thử thêm "wrap = hard" vào thẻ textarea và cũng thêm "word-wrap: normal;" vào CSS.
Có ai khác đã gặp sự cố này không? Nếu vậy, bạn đã tìm thấy một giải pháp. Windows đang đẩy ra bản cập nhật này và hành vi không nhất quán đang trở thành một vấn đề.
Cảm ơn bạn đã trợ giúp bạn có thể cung cấp.
Đây là textarea hiện tại của tôi thẻ
<textarea class="wrklst-report_text" id="report_text_6586427" name="report_text[6586427]" title="Report Box" data-exam_seq="6586427" style="width:95%;"></textarea>
Đây là CSS tính của tôi
-webkit-appearance: textarea;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
-webkit-writing-mode: horizontal-tb;
background-color: rgb(255, 255, 255);
border-bottom-color: rgb(0, 0, 0);
border-bottom-style: solid;
border-bottom-width: 1px;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(0, 0, 0);
border-left-style: solid;
border-left-width: 1px;
border-right-color: rgb(0, 0, 0);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(0, 0, 0);
border-top-style: solid;
border-top-width: 1px;
color: rgb(0, 0, 0);
cursor: auto;
display: inline-block;
flex-direction: column;
font-family: Verdana, Arial, sans-serif;
font-size: 16px;
height: 300px;
letter-spacing: normal;
line-height: normal;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
padding-bottom: 2px;
padding-left: 2px;
padding-right: 2px;
padding-top: 2px;
resize: both;
text-align: start;
text-indent: 0px;
text-shadow: none;
text-transform: none;
white-space: pre-wrap;
width: 950px;
word-spacing: 0px;
word-wrap: break-word;
writing-mode: lr-tb;
Không repro. Bạn không hiển thị một cái gì đó hoặc bạn đang nhầm lẫn. – Will
Bạn cần chỉ định dữ liệu đầu vào thực tế tái tạo sự cố, giải thích những gì bạn mong đợi xảy ra và điều gì sẽ xảy ra thay thế. “Không hoạt động” không phải là mô tả sự cố. –
Tôi đã tìm thấy sự cố. Cảm ơn bạn rất nhiều vì đầu vào của bạn. Nó đã giúp rất nhiều. Có vẻ như IE 11 bây giờ làm cho các phần tử textarea kế thừa thuộc tính "white-space" từ div cha của nó. – wesley