Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script editor slows down page when it contains lots of characters #286

Open
marikaris opened this issue Apr 23, 2019 · 0 comments
Open

Script editor slows down page when it contains lots of characters #286

marikaris opened this issue Apr 23, 2019 · 0 comments
Labels
Milestone

Comments

@marikaris
Copy link
Contributor

How to Reproduce

Put a script editor on a page
Put 65000 characters in it
You may want to use a function like this:

generateString (length) {
        let text = ''
        const possible = 'GATC'
        for (var i = 0; i < length; i++) {
          text += possible.charAt(Math.floor(Math.random() * possible.length))
        }
        return text
      }

Expected behavior

Page loads with script input field

Observed behavior

Page loads very slowly and on firefox your browser may freeze

@marikaris marikaris added the bug label Apr 23, 2019
@marikaris marikaris modified the milestones: release 8.0, first Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant