Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28078

Embedding a Content Object in the RichText Editor makes page scroll up

    Details

      Description

      Embedding a Content Object in the RichText Editor makes page scroll up. It doesn't scroll all the way to the top, but it scrolls up significantly. This is very annoying when editing long articles.
      This issue doesn't happen in eZ Platform 1.7.5.

      Steps to reproduce:

      1. Start creating a new article.
      2. In the RichText Editor, add some content with lots of line breaks, to make it long.
      3. Select the last line on the editor.
      4. Click and add an Embed Content Object.
      5. The embedded Content Object is added, but the page scrolls up and we have to scroll down every time.
      1. EZP-28078_workaround.patch
        0.9 kB
        Adam Wójs
      2. EZP-28078.patch
        6 kB
        Adam Wójs

        Issue Links

          Activity

          Nico Schnell created issue -
          Nico Schnell made changes -
          Field Original Value New Value
          Link This issue clones EZP-27114 [ EZP-27114 ]
          Nico Schnell made changes -
          Link This issue relates to CS-6076 [ CS-6076 ]
          Nico Schnell made changes -
          Link This issue relates to EZP-27058 [ EZP-27058 ]
          Nico Schnell made changes -
          Remote Link This issue links to "PR for 1.7 (Web Link)" [ 17807 ]
          Hide
          André Rømcke added a comment -

          Hi Nico Schnell,

          I see that you report this with fixVersion: Customer Request, be aware you will need to report the issue via support.ez.no if that is the case, that's the only place we followup on (eZ Systems) customer issues.

          Best,
          André Rømcke
          VP Customer Success

          Show
          André Rømcke added a comment - Hi Nico Schnell , I see that you report this with fixVersion: Customer Request, be aware you will need to report the issue via support.ez.no if that is the case, that's the only place we followup on (eZ Systems) customer issues. Best, André Rømcke VP Customer Success
          André Rømcke made changes -
          Fix Version/s Customer request [ 11018 ]
          Jacek Foremski (Inactive) made changes -
          Summary Back in 1.10 - Using (+) button in Online Editor makes page scroll to top when an embed/image has the focus Embedding a Content Object in the RichText Editor makes page scroll up
          Jacek Foremski (Inactive) made changes -
          Description Clicking the (+) button in Online Editor makes pages scroll to top, if an embed object is selected.
          If the embed object is the last element on the richtext we must click the (+) button to add a new paragraph after it, but when we click (+) the page scrolls to top, and this is very annoying when editing long articles.

          *Steps to reproduce:*

          # Start creating a new article
          # In Online Editor, add some content with lots of line breaks, to make it long
          # Select the last line on the editor
          # Click (+) and add an embed object
          # Select the embed object
          # Click (+) so we can add a new line after the embed object
          ----
          !https://jira.ez.no/secure/attachment/28516/online-editor-choose-element.png!
          This tooltip still opens, but the page will scroll to top, and we have to scroll down every time.
          Embedding a Content Object in the RichText Editor makes page scroll up. It doesn't scroll all the way to the top, but it scrolls up significantly. This is very annoying when editing long articles.
          This issue doesn't happen in eZ Platform 1.7.5.

          *Steps to reproduce:*
          # Start creating a new article.
          # In the RichText Editor, add some content with lots of line breaks, to make it long.
          # Select the last line on the editor.
          # Click (+) and add an Embed Content Object.
          # The embedded Content Object is added, but the page scrolls up and we have to scroll down every time.
          Jacek Foremski (Inactive) made changes -
          Affects Version/s 1.11.0 [ 14801 ]
          Jacek Foremski (Inactive) made changes -
          Attachment online-editor-choose-element.png [ 29790 ]
          Jacek Foremski (Inactive) made changes -
          Labels richtext
          Jacek Foremski (Inactive) made changes -
          Link This issue clones EZP-27114 [ EZP-27114 ]
          Jacek Foremski (Inactive) made changes -
          Link This issue relates to EZP-27058 [ EZP-27058 ]
          Jacek Foremski (Inactive) made changes -
          Link This issue relates to CS-6076 [ CS-6076 ]
          Jacek Foremski (Inactive) made changes -
          Remote Link This issue links to "PR for 1.7 (Web Link)" [ 17807 ]
          Jacek Foremski (Inactive) made changes -
          Link This issue relates to CS-6420 [ CS-6420 ]
          Jacek Foremski (Inactive) made changes -
          Fix Version/s Customer request [ 11018 ]
          Jacek Foremski (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Jacek Foremski (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Hide
          Jacek Foremski (Inactive) added a comment -

          Dear Nico Schnell,

          I modified this issue based on the information from related Customer Support ticket. Please let me know if something doesn't seem correct.


          Best regards,
          Jacek Foremski
          Product Support Engineer

          Show
          Jacek Foremski (Inactive) added a comment - Dear Nico Schnell , I modified this issue based on the information from related Customer Support ticket. Please let me know if something doesn't seem correct. – Best regards, Jacek Foremski Product Support Engineer
          Jacek Foremski (Inactive) made changes -
          Labels richtext richtext udw
          Jacek Foremski (Inactive) made changes -
          Component/s Platform > UI > UDW [ 14045 ]
          Hide
          David Wulf added a comment -

          Hi André/Jacek,

          the issue appears on our eZ installation (homeandsmart). What does the current status mean and shall I report this issue via support.ez.no? As this is an annoying bug for our editors I would like to support in accelarating a fix.

          Best
          David

          Show
          David Wulf added a comment - Hi André/Jacek, the issue appears on our eZ installation (homeandsmart). What does the current status mean and shall I report this issue via support.ez.no? As this is an annoying bug for our editors I would like to support in accelarating a fix. Best David
          Adam Wójs made changes -
          Assignee Adam Wójs [ adam.wojs@ez.no ]
          Adam Wójs made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Hide
          Jacek Foremski (Inactive) added a comment -

          Dear David Wulf,

          this issue was already reported via support.ez.no on behalf of homeandsmart. The current status means that the issue is waiting in the queue for the 3rd support engineers. I have spoken with them and they will take care of it with high priority.


          Best regards,
          Jacek Foremski
          Product Support Engineer

          Show
          Jacek Foremski (Inactive) added a comment - Dear David Wulf , this issue was already reported via support.ez.no on behalf of homeandsmart. The current status means that the issue is waiting in the queue for the 3rd support engineers. I have spoken with them and they will take care of it with high priority. – Best regards, Jacek Foremski Product Support Engineer
          Hide
          Adam Wójs added a comment -

          It looks like the bug is related to browser. Cannot reproduce of Firefox and Safari.

          Show
          Adam Wójs added a comment - It looks like the bug is related to browser. Cannot reproduce of Firefox and Safari.
          Hide
          David Wulf added a comment -

          Hi Jacek,

          many thanks for pushing this issue. Can you report any updates regarding a patch?

          Best
          David

          Show
          David Wulf added a comment - Hi Jacek, many thanks for pushing this issue. Can you report any updates regarding a patch? Best David
          Hide
          Jacek Foremski (Inactive) added a comment -

          Dear David Wulf,

          unfortunately, the issue is not trivial and the developers are still working on the solution. We will let you know as soon as it is ready.


          Best regards,
          Jacek Foremski
          Product Support Engineer

          Show
          Jacek Foremski (Inactive) added a comment - Dear David Wulf , unfortunately, the issue is not trivial and the developers are still working on the solution. We will let you know as soon as it is ready. – Best regards, Jacek Foremski Product Support Engineer
          Adam Wójs made changes -
          Attachment EZP-28078_workaround.patch [ 29942 ]
          Hide
          Adam Wójs added a comment -

          I've attached the patch containing a workaround. // cc [~jacek.foremski@ez.no]

          Show
          Adam Wójs added a comment - I've attached the patch containing a workaround. // cc [~jacek.foremski@ez.no]
          Hide
          Adam Wójs added a comment - - edited
          Show
          Adam Wójs added a comment - - edited PR: https://github.com/ezsystems/PlatformUIBundle/pull/920
          Adam Wójs made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Adam Wójs made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Assignee Adam Wójs [ adam.wojs@ez.no ]
          Michał Szołtysek made changes -
          Assignee Michał Szołtysek [ michal.szoltysek@ez.no ]
          Michał Szołtysek made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Adam Wójs made changes -
          Attachment EZP-28078.patch [ 29982 ]
          Hide
          Michał Szołtysek added a comment -

          QA Approved with eZ Platform v1.12.0 with patch.

          Show
          Michał Szołtysek added a comment - QA Approved with eZ Platform v1.12.0 with patch.
          Michał Szołtysek made changes -
          Status QA [ 10008 ] QA Done [ 10007 ]
          Assignee Michał Szołtysek [ michal.szoltysek@ez.no ]
          Show
          Michał Szołtysek added a comment - Merged to 1.12: https://github.com/ezsystems/PlatformUIBundle/commit/6d835b69a024c78e2a1f9b1ed39a3c580733c79a
          Michał Szołtysek made changes -
          Status QA Done [ 10007 ] Closed [ 6 ]
          Fix Version/s 1.13.0 [ 14852 ]
          Fix Version/s 1.12.1 [ 14865 ]
          Resolution Fixed [ 1 ]
          Konrad Oboza made changes -
          Link This issue relates to EZP-28552 [ EZP-28552 ]
          Michał Szołtysek made changes -
          Link This issue relates to EZP-28773 [ EZP-28773 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          1d 1 jacek.foremski@ez.no 17/Oct/17 1:12 PM
          Confirmed Confirmed InputQ InputQ
          4s 1 jacek.foremski@ez.no 17/Oct/17 1:12 PM
          InputQ InputQ Development Development
          8d 20h 58m 1 Adam Wójs 26/Oct/17 10:11 AM
          Development Development Development Review Development Review
          20d 23h 52m 1 Adam Wójs 16/Nov/17 9:03 AM
          Development Review Development Review Documentation Review done Documentation Review done
          1d 1h 12m 1 Adam Wójs 17/Nov/17 10:16 AM
          Documentation Review done Documentation Review done QA QA
          7m 28s 1 Michał Szołtysek 17/Nov/17 10:23 AM
          QA QA QA Done QA Done
          1h 25m 1 Michał Szołtysek 17/Nov/17 11:49 AM
          QA Done QA Done Closed Closed
          1m 55s 1 Michał Szołtysek 17/Nov/17 11:51 AM

            People

            • Assignee:
              Unassigned
              Reporter:
              Nico Schnell
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: