Opened 7 years ago

Closed 3 years ago

#14779 closed defect (patchwelcome)

TooltipDialog: width too narrow on initial display

Reported by: Matej Owned by:
Priority: low Milestone: 1.13
Component: Dijit Version: 1.7.2rc1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

This is similar to Ticket #14770 (new defect).

The content in the TooltipDialog is bad rendered for first time.

CSS

    label {
        display: inline-block;
        width : 200px;
    }

DOJO

    <div data-dojo-type="dijit.form.DropDownButton">
      <span>Click here</span>
      <div data-dojo-type="dijit.TooltipDialog">
        Enter your name
        <form data-dojo-props="action : 'server.html'" data-dojo-type="dijit.form.Form" id="formID" method="post">
          
            <section>
              <label for="name">Name:</label>
              <input name="name" id="name" data-dojo-type="dijit.form.TextBox">
            </section>
            <section>
              <label for="surname">Surname:</label>
              <input name="surname" id="surname" data-dojo-type="dijit.form.TextBox">
            </section>
            <section>
              <label></label>
              <button type="submit" data-dojo-type="dijit.form.Button">
                Submit
              </button>
            </section>
          
        </form>
      </div>
    </div>

Attachments (2)

bug.jpg (36.7 KB) - added by Matej 7 years ago.
14779.html (1.1 KB) - added by bill 7 years ago.
test case

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by Matej

Attachment: bug.jpg added

comment:1 Changed 7 years ago by bill

Description: modified (diff)
Summary: dijit.form.DropDownButton / TooltipDialog layout bugTooltipDialog: sizing bug on initial display

For the future please attach test cases as a single HTML file attachment, thanks.

Changed 7 years ago by bill

Attachment: 14779.html added

test case

comment:2 Changed 7 years ago by bill

Summary: TooltipDialog: sizing bug on initial displayTooltipDialog: width too narrow on initial display

See also #14267.

comment:3 Changed 6 years ago by bill

Priority: undecidedlow

comment:4 Changed 6 years ago by bill

Milestone: tbdfuture

comment:5 Changed 3 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 3+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.