How to prevent scrolling while entering text in a text entry box in a Fluid app

fluid.app

In my job, I have a number of "always-open" web applications that are part of my desktop layout. I always have Trello open, plus two different Stack Exchange Chat rooms. I also have another browser window that I use like everyone else, navigating to various sites in tabs, etc.

Because I always want to keep trello and chat open, and I never want to open links from those sites in those windows, Fluid is a near perfect solution, as it creates a native, OSX app for each window. I click it, and it opens that site as a stand-alone app, which I can set to open all links in my "normal" browser, etc. I LOVE IT, and was going to switch to the paid version and get my small team on it. (I have no affiliation, just a genuine fan).

But I've encountered an issue:

At seemingly random times, typing text in a text entry box causes the cursor to leave the box and the window to scroll back up most of the way to the top of the window.

I've tested this quite a bit, and know this:

  • I'm not accidentally hitting Control, Alt, etc. The only modifier key I'm using is Shift.
  • I can't seem to repro it even when using the same text in the same instance it happened. After occurrences, I literally moved focus back to the box where it happened, deleted the text I was typing when it happened, and re-typed it, but it didn't occur.
  • It never seems to happen when I'm not typing text in the box, so I'm pretty sure the issue is linked to that activity.
  • This has always happened to me in a Stack Exchange Chat window, but I don't use Fluid for any other "text-entry" sites, so that may not be relevant. (It's not a problem for SE chat in normal browsers; I've logged thousands of hours doing the same thing in chrome and safari without incident).

Since each fluid instance is essentially an app, I thought there might be some hotkey setting somewhere I had set wrong, but can't find anything of the sort in the app or from online searches.

Best Answer

I have had this too. It is caused due the live spell checking service responding late while you are typing.

Apparently, while replacing a mistyped word, the service takes focus of the text box. Usually, this happens so quickly that you don't notice it. But sometimes, the service takes too much time (relatively) to process a word while you are still typing. And if you press Spacebar* when this happens, the page moves up/down.

When this first happened, I thought it was totally dependent on the performance of your computer and there was no specific way to solve it.

Safe Reboot - try this first:

One day, I accidentally activated Safe Boot. For me, this stopped the problem from happening, even after I rebooted normally. Aside from its normal uses, Safe Boot also clears out caches, repairs permissions, and performs other maintenance tasks. That is why you see a progress bar on a Safe Boot. But that method doesn't work for everyone.

Turn off AutoCorrect - here's a solution that should work if that doesn't solve it:

This solution requires you to turn off auto-correct for the app. You can still keep spell-check on, so it will still highlight misspellings; it just won't automatically change them.

  1. Go to the affected app.
  2. Click in the box where you're having trouble when you enter text, to put the cursor there.
  3. In the menu bar, select Edit > Spelling and Grammar > Uncheck Correct spelling automatically. You can leave Check spelling when typing checked, so it will continue to show you misspellings as you type.

* Pressing the Spacebar when a text box isn't in focus sends a scroll down action to the current page. And pressing Shift + Spacebar sends a scroll up.