You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update I suspect the issue is caused by the fact that toolbar buttons turn blue when mouse hovers over them. Mobile safari recognizes the first touch as hover, and whatever element is underneath the first touch will retain its styles defined with :hover until user touches somewhere else. I tried removing button:hover from qull.snow.css but that ended up making all toolbar buttons constantly blue. What is the proper way to remove hover styles from the css?
[Describe the issue]
H1 toobar button doesn't respond to line change in mobile safari
Steps for Reproduction
instantiate quill with the following code:
(perform the following without touching the contenteditable area, otherwise bug could not be accurately reproduced)
open the page on mobile safari for iOS 10.3
click the h1 button in the toolbar
type something
press enter
type something else
Expected behavior:
since text on the second line isn't wrapped by h1 tags anymore, H1 button in the toolbar should become inactive and return to black instead of staying blue
Actual behavior:
H1 button stays blue, and won't return to black even if you press it again
Platforms:
mobile safari for iOS 10.3
Version:
v1.2.3
The text was updated successfully, but these errors were encountered:
Update I suspect the issue is caused by the fact that toolbar buttons turn blue when mouse hovers over them. Mobile safari recognizes the first touch as hover, and whatever element is underneath the first touch will retain its styles defined with :hover until user touches somewhere else. I tried removing
button:hover
from qull.snow.css but that ended up making all toolbar buttons constantly blue. What is the proper way to remove hover styles from the css?[Describe the issue]
H1 toobar button doesn't respond to line change in mobile safari
Steps for Reproduction
instantiate quill with the following code:
new Quill('#id', { modules : { toolbar : { container : [{ header : 1 }] } }, placeholder : 'Compose an epic...', theme : 'snow' });
(perform the following without touching the contenteditable area, otherwise bug could not be accurately reproduced)
open the page on mobile safari for iOS 10.3
click the h1 button in the toolbar
type something
press enter
type something else
Expected behavior:
since text on the second line isn't wrapped by h1 tags anymore, H1 button in the toolbar should become inactive and return to black instead of staying blue
Actual behavior:
H1 button stays blue, and won't return to black even if you press it again
Platforms:
mobile safari for iOS 10.3
Version:
v1.2.3
The text was updated successfully, but these errors were encountered: