question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Dropdown] Add button-like attached variations

See original GitHub issue

I use semantic-ui-react. My issue: attached button and dropdown. Button has attach prop, Dropdown hasn’t.

        <div>
          <DropdownSearch attached="left" {...getProps(7)} placeholder="Лицевой счет"/>
          <Button attached="right" primary>New Next</Button>
        </div>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
dlynchcodescommented, May 1, 2017

I was able to do it using ui fluid action input and adding input do the dropdown div like this:

<div class="ui fluid action input">
    <div class="ui multiple search selection input dropdown" 
         style="border-top-right-radius: 0px; border-bottom-right-radius: 0px;">
        <input value="default" type="hidden" />
        <i class="dropdown icon"></i>
        <div class="default text"></div>
        <div class="menu">
            <div class="item"></div>
        </div>
    </div>
    <button id="selectallbutton" class="ui basic blue right icon button" 
            onclick="$( this ).toggleClass( 'basic' );"             
            data-tooltip="Select All">
        <i class="asterisk icon"></i>
    </button>
    <button id="excludeselectedbutton" class="ui basic red right icon button" 
            onclick="$( this ).toggleClass( 'basic' );"
            data-tooltip="Exclude Selected">
        <i class="ban icon"></i>
    </button>
</div>
2reactions
larsbocommented, Apr 29, 2017

@a-x- I built an attached dropdown version (vertical only) some time ago: https://github.com/Semantic-Org/Semantic-UI/pull/3542

Read more comments on GitHub >

github_iconTop Results From Across the Web

Button group · Bootstrap v5.0
Vertical variation. Make a set of buttons appear vertically stacked rather than horizontally. Split button dropdowns are not supported here. Button Button
Read more >
Ps4 controller connected to pc but not working
Right-click on it and select Remove device. Method #1 Launch the Steam. To replace a PS4 controller battery, you have to disassemble the...
Read more >
Clip studio paint stylus - POSTGRAVITYART
Click the Clip Studio Paint icon and select [Modifier Key Settings]. 2. ... Use Clip Studio Paint to create whatever you like. international...
Read more >
Boost Your iPhone's Performance With These 22 Helpful iOS ...
Apple has added some new wallpapers of its own, with a pretty cool twist. Open the Settings app on your iPhone and select...
Read more >
How to go back on tinder iphone - La Bina Travel Designer
6. com Tap "I'd like to," then choose "Request a refund" Select the reason ... There are various an effective way to erase...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found