Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Test area gets shrunk after typingu - RapidSpell Web Java - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
Guna
#1 Posted : Friday, November 7, 2014 9:09:26 AM
Rank: Member

Groups: Registered

Joined: 10/13/2014
Posts: 10
Hi Jim,

We have implemented Rapid Spell Check in our application that is built on Struts 2.0 framework. The Spell Check method is called on blur of Text Area. When focus is taken out of Text Area, the misspelt words are underlined, but the text area gets shrunk only to accomodate the words typed.

Below is the Code implemented.

<s:textarea theme="simple" name="info" id='info' onkeydown="limitText(this,1000);" onkeyup="limitText(this,1000);" cols="50" rows="7" onblur="infoSC_SpellChecker.OnSpellButtonClicked();" cssClass="login-textbox"/>
<RapidSpellWeb:rapidSpellWInline textComponentID="info" id="infoSC" showButton="false" showNoErrorsMessage="false" finishedListener="spell_finished" />[/i][/i][/b]

Could you please let us know the reason for the same and possible solution to this.

Regards
guna
Jim
#2 Posted : Sunday, November 9, 2014 1:28:50 AM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Hi Guna, it's probably something about a CSS rule on the page that's doing it. That can be tricky to identify (you can do it with F12 by looking at the computed style in the element inspector, and see where the size (of the overlaying DIV) is coming from.

To rule out the styles it would be great if you could reproduce the problem in a minimal page, ideally without even struts if possible. And then post the entire page content or send to me via support at keyoti.com

Thanks
Jim

-your feedback is helpful to other users, thank you!

-your feedback is helpful to other users, thank you!


Jim
#3 Posted : Monday, November 10, 2014 4:35:35 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Thanks for the page - it looks to be a problem specific to IE7 when you use the RapidSpellWInline tag (as opposed to the RapidSpell-AYT.js script approach).

This will fix it
https://www.dropbox.com/.../RapidSpellWeb.jar?dl=0

Jim


-your feedback is helpful to other users, thank you!

-your feedback is helpful to other users, thank you!


Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.