AceEditor - focus jumps around [SOLVED]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

AceEditor - focus jumps around [SOLVED]

Post by wmdvanzyl »

I've noticed from the latest update (might be one back also) that when i click in the text area when using AceEditor that the focus jumps. With other words, the cursor is not where i click. Mostly it results in a selection from where i clicked right to the top. It's just an annoyance and i was wondering if it only happens to me? If i can get some confirmation i can file a bug report.

This 1.11.10
Last edited by wmdvanzyl on Tue Mar 25, 2014 7:46 am, edited 1 time in total.
10010110
Translator
Translator
Posts: 224
Joined: Tue Jan 22, 2008 9:57 am

Re: AceEditor - focus jumps around

Post by 10010110 »

I can confirm this. And it annoys me, too.
Stikki

Re: AceEditor - focus jumps around

Post by Stikki »

Disable: Auto (Editor starts with preset height and will auto expand based on content)

And it wont jump anymore
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: AceEditor - focus jumps around

Post by wmdvanzyl »

So do you think the "jump" behaviour is as it should be or would you consider it a bug? I would expect the resizing to occur at page load and not at focus.
uniqu3

Re: AceEditor - focus jumps around [SOLVED]

Post by uniqu3 »

If you have a stable working solution feel free to propose it and create a diff, else it is not considered as bug because only way i was able to figure out length of content from hidden textarea which is actually real content and calculate it so it is rendered properly in AceEditor which is rendered by Ace Syntaxhighlighter engine was on focus of editor.
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: AceEditor - focus jumps around [SOLVED]

Post by wmdvanzyl »

Thanks for the feedback Goran.

Hehe... no i have no solution ;D

Thanks for the great module. I didn't mean to criticize - i was just wondering if the behaviour is as it should be.
Post Reply

Return to “Modules/Add-Ons”