| Summary: | Yammer Question Field on Live Events does not show "Caret" or "I-Beam" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> | ||||
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED WORKSFORME | ||||||
| Severity: | Normal | CC: | ap, bfulgham, cdumez, karlcow, rniwa, simon.fraser, webkit-bug-importer, wenson_hsieh | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 15 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=135914 | ||||||
| Attachments: |
|
||||||
|
Description
Ahmad Saleem
2022-09-09 07:44:02 PDT
Created attachment 462229 [details]
Yammer Question Field - Safari does not show "Caret" here for typing
Hi Adhmad, Thanks for the report. The current html doesn't provide a way to test why the caret disappears. And this requires an account with an access to a yammer account. That would be great if you could reduce a bit the test case or at least with devtools trying to find out if it's related to CSS or something else. I also wonder if this is specific to your own network or if it's happening in any Yammer network. Currently it's quite hard to know what is happening. I can simulate with
data:text/html,<!doctype%20html><html><div%20%20%20contenteditable="true"%20%20%20style="%20%20%20%20%20background-color:%20gold;%20%20%20%20%20color:%20transparent;%20%20%20%20%20height:%205ch;%20%20%20%20%20width:%2020ch;">%20</div>
aka
<div
contenteditable="true"
style="
background-color: gold;
color: transparent;
height: 5ch;
width: 20ch;">
</div>
but then the cursor disappears in all browsers.
It would be useful to know what you see in the Web Inspector for the CSS.
Other Style Sheet
.editor-1076 {
width: 100%;
cursor: text;
min-height: 105px;
padding-bottom: 12px;
}
html * {
box-sizing: inherit;
}
___
UA Style Sheet
address, article, aside, div, footer, header, hgroup, main, nav, section {
display: block;
}
____
html ::before {
box-sizing: inherit;
}
___
Inherited:
.css-1047 {
font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 0.875rem;
font-weight: 400;
line-height: 1.25rem;
flex-basis: 25%;
height: auto;
width: auto;
flex-grow: 25;
flex-shrink: 1;
min-width: 392px;
max-width: 596px;
overflow-y: scroll;
padding-top: 0px;
padding-right: 16px;
padding-bottom: 0px;
padding-left: 16px;
}
______
I am happy to share my screenshot to show the issue, let me know if you are interested but meanwhile I have did inspect and took these CSS values.
Thanks!
I checked with Safari Technology Preview 157, which has fix about :before pseudo element and mentioned in "See Also" but I am still not able to see the caret. Only when I start typing then it start showing it up. Just wanted to post it. I just checked Yammer today with Safari 16.4 and it seems that now it works correctly. Marking this as "RESOLVED WORKSFORME". Thanks! |