GithubHelp home page GithubHelp logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
thank you for letting me know about this, and i think you're right in saying 
it's
related to the focushelper. 
i will be looking into this and your other bug report this evening.

Original comment by [email protected] on 23 Feb 2010 at 7:17

  • Changed state: Started

from jquery-spellchecker.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Cool man, thanks.

As a workaround, I disabled the statement (around line 151)
this.elements.$focusHelper.focus();

I believe that its fine for the user to just click 'ignore word' to make the 
menu
disappear, rather than have the menu disappear if the focus helper blurs.

Original comment by [email protected] on 23 Feb 2010 at 8:38

from jquery-spellchecker.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
i had some display issues with using document.click to hide the suggestbox. for
example, on the main demo: http://spellchecker.jquery.badsyntax.co.uk/
if the suggest word box is showing, and you click on one of the tabs, the 
suggestbox
wouldn't dissappear as the tabs plugin would be preventing document.click from 
firing. 

this new input element is an experiment to see what i can do with the focus and 
blur
events, and i'd like to keep it if i can get it working properly lol 
i could also use anchors on the suggest words for focus and blur events..but 
this
input is easier to work with

Original comment by [email protected] on 23 Feb 2010 at 8:47

from jquery-spellchecker.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
ok i've had a play and decided to revert this with r136

i couldn't find a way to prevent the browser from giving scrolling the viewport 
on
focus, and i guess it makes sense for it do that.
so i'm going to keep it as document.click for now until i find a better focus 
event
solution

Original comment by [email protected] on 23 Feb 2010 at 9:42

from jquery-spellchecker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.