Skip to content

Page Scrolling Issue in Elementor 2.2 Text Editor Widget #5591

@midihead7

Description

@midihead7

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

When using the Text Widget in Elementor 2.2 with longer passages of text, scrolling further down in the right editing pane (preview window) and then clicking inside the text widget in the preview pane automatically scrolls the preview pane back to the top to the Text Widget window where the text starts. This prevents text editing in the preview pane.

Here is a video demonstrating the issue: https://youtu.be/L5fR5UQi0-Q

I have tested with all other plugins disabled (including Elementor Pro) and using the default Twenty Seventeen theme. The issue only happens with Elementor 2.2 active and only on longer passages of text that require scrolling to get to. Short passages of text don't appear to cause the issue.

Steps to reproduce

  1. Select (click on) a text widget in the Elementor preview pane on the right that contains text that is long enough to run down past the browser viewport at the bottom of the screen.
  2. Scroll further down and click on text anywhere in the preview pane.
  3. Notice how the preview pane automatically scrolls back to the top which prevents editing in the preview pane.

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Environment

System Info ```

== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: 5.5.5
PHP Version: 7.2.8
PHP Max Input Vars: 1000
PHP Max Post Size: 128M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 4.9.8
Site URL: https://new.homewardpublishingministries.com
Home URL: https://new.homewardpublishingministries.com
WP Multisite: No
Max Upload Size: 128 MB
Memory limit: 256M
Permalink Structure: /%category%/%postname%/
Language: en-US
Timezone: America/Los_Angeles
Debug Mode: Inactive

== Theme ==
Name: Astra Child
Version: 1.0.0
Author: Brainstorm Force
Child Theme: Yes
Parent Theme Name: Astra
Parent Theme Version: 1.4.9
Parent Theme Author: Brainstorm Force

== User ==
Role: administrator
WP Profile lang: en_US
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

== Active Plugins ==
Elementor
Version: 2.2.0
Author: Elementor.com

== Debug ==
Errors:
TypeError: o.attributes[t.name].each is not a function
at https://new.homewardpublishingministries.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.1.8 - 2:106066
2018-08-23 01:50 +00:00

	ViewDestroyedError: View (cid: "view1415") has already been destroyed and cannot be used.
		at https://new.homewardpublishingministries.com/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5 - 22:19954
		2018-08-21 03:53 +00:00

	TypeError: o.attributes[t.name].each is not a function
		at https://new.homewardpublishingministries.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.1.8 - 2:106066
		2018-08-21 03:53 +00:00

	TypeError: Cannot read property 'on' of null
		at https://new.homewardpublishingministries.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.0.16 - 2:82365
		2018-06-16 00:57 +00:00

	TypeError: Cannot read property 'style' of undefined
		at https://new.homewardpublishingministries.com/wp-admin/js/editor.min.js?ver=4.9.6 - 1:694
		2018-06-16 00:57 +00:00

	TypeError: Cannot read property 'on' of null
		at https://new.homewardpublishingministries.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.0.16 - 2:82365
		2018-06-16 00:55 +00:00

	TypeError: Cannot read property 'style' of undefined
		at https://new.homewardpublishingministries.com/wp-admin/js/editor.min.js?ver=4.9.6 - 1:694
		2018-06-16 00:55 +00:00

	TypeError: Cannot read property 'on' of null
		at https://new.homewardpublishingministries.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.0.16 - 2:82365
		2018-06-16 00:50 +00:00

	TypeError: Cannot read property 'style' of undefined
		at https://new.homewardpublishingministries.com/wp-admin/js/editor.min.js?ver=4.9.6 - 1:694
		2018-06-16 00:50 +00:00

	TypeError: Cannot read property 'on' of null
		at https://new.homewardpublishingministries.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.0.16 - 2:82365
		2018-06-14 04:08 +00:00
</details>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.status/has-prIndicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions