Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 980289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:21:32+00:00 2026-05-16T04:21:32+00:00

On a normal webpage <input type=’text’/> , in Firefox, you can click anywhere on

  • 0

On a normal webpage <input type='text'/>, in Firefox, you can click anywhere on the element and the browser will “focus” on that element. On a XUL (Firefox extension) <textbox> element however, only clicking on the leftmost part edges of the textbox will focus it; clicking anywhere else on it does nothing.

I find this really annoying, especially given how input elements in Firefox work normally; I’d have better UI with a web page than with a browser extension! Does anyone know of a way to fix this behavior (I was thinking maybe I could do an onClick=”function(){this.focus()}” kinad thing, but that seems so hacky so I was really hoping there was a better way …)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:21:33+00:00Added an answer on May 16, 2026 at 4:21 am

    So … this ones a little embarrassing, but I thought I should share how I finally solved the problem properly. As it turns out, XUL elements DO normally get focused on when click. The problem, as I discovered, was that if you put those elements inside of another element that they aren’t supposed to be inside of, then they stop being focused properly. In my case I had ****sigh**** the following:

    <groupbox align="start">
        <caption label="Test"/>
            <radiogroup>
    

    wrapping all of the actual contents of my document (and I didn’t even close them either; it was just a terrible un-noticed copy/paste error).

    So, if you find yourself thinking you need the code in my first answer, check your XUL files first: the problem is probably your own code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Under normal circumstances, a VB.NET application of mine can check the ClientName environmental variable
I have a web page with one input text for the barcode content and
I have some localization problems in my webpage. There are basically two problems (that
Is there a good way to stream video through asp.net to a normal webpage
I want to generate a PDF of a webpage but apply an alternate, print-type
I'm trying to setup an ajax-based website that loads a fragment of a webpage
We want to allow normal href links to other webpages, but we don't want
My normal work flow to create a new repository with subversion is to create
Sometimes normal FTP doesn't quite cut it... When you need to do secure FTP
In normal WebForms scenario, any root-relative URLs (e.g. ~/folder/file.txt) inside CSS files such as:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.