Ticket #1462 (closed Bug: fixed)

Opened 21 months ago

Last modified 19 months ago

Safari: Main window scrolls on enter

Reported by: Alexander Owned by: fredck
Priority: High Milestone: Safari Compatibility
Component: UI : Enter Key Version: FCKeditor 2.5 Beta
Keywords: Confirmed Safari Cc: ayuganov@…

Description

When I enter new paragraph Safari moves to the beginning of the page. See attached video.

Attachments

tc.html (2.2 KB) - added by fredck 20 months ago.
TC

Change History

Changed 21 months ago by Alexander

Changed 20 months ago by fredck

  • keywords Confirmed Safari added
  • component changed from General to UI : Enter Key
  • milestone set to Safari Compatibility

Confirmed. It seems like a big bug in WebKit.

I'll be attaching a TC for it.

Changed 20 months ago by fredck

TC

Changed 20 months ago by fredck

  • priority changed from Normal to High
  • summary changed from Safari: New paragraph to Safari: Main window scrolls on enter

Changed 20 months ago by fredck

The TC is reachable here:
http://www.fckeditor.net/_temp/browsers_bugs/safari/1462.html

The Reduced TC instead can be found here instead:
http://www.fredck.com/bugs/safari/1462_reduced.html

Changed 20 months ago by fredck

Changed 20 months ago by fredck

We have this problem because we are using scrollIntoView(false).

We could avoid using it if WebKit would automatically scroll the view to ensure that the caret is always visible, like IE does, but it doesn't support it. This need has been reported to WebKit too:
http://bugs.webkit.org/show_bug.cgi?id=16118

Changed 20 months ago by fredck

  • owner set to fredck

Changed 20 months ago by fredck

  • status changed from new to assigned

Changed 20 months ago by fredck

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with [1124]. Click here for more info about our SVN system.

I've introduced a custom implementation for scrollIntoView that fits our needs. I still hope WebKit will bring the definitive solution in any case.

Changed 19 months ago by fredck

[1124] was not working properly when inside blockquotes or lists. Fixed with [1143].

Note: See TracTickets for help on using tickets.