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

I would like to know how I can make a webpage that will look
I am doing, a webpage that the users will introduce their credit cards and
I'm writing a webpage where I want to use one font for normal text
I have a web page that doesnt fit screen in normal resolution, so I
In normal mode I can hit Ctrl + E which deletes the rest of
I need to read the in memory HTML of a webpage that is displayed
I have a webpage at http://www.optiekmeulemeester.be/normal with sliding navigation. This happens with the following
I have a webpage that is a Search page. There are a few pre-defined
I want my Phonegap App to open a Flash-Webpage in the Android Browser, not
I need to include a css-file in my webpage, but the problem is that

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.