Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't hit sub-buttons in UDFAB #1088

Closed
PorreKaj opened this issue Sep 9, 2019 · 7 comments
Closed

Can't hit sub-buttons in UDFAB #1088

PorreKaj opened this issue Sep 9, 2019 · 7 comments
Labels
bug Something isn't working
Milestone

Comments

@PorreKaj
Copy link

PorreKaj commented Sep 9, 2019

Describe the Issue

I added a Simple UDFab with a "sub" button, intended to add stuff to a list.
I'm having a hard time hitting the sub button, as it folds down almost immediately.

To Reproduce

Steps to reproduce the behavior: (Example)

  1. Start Dashboard with an UDFAB (Floating Action button)
  2. point on the button
  3. Try to hit the "sub" button

Expected behavior

Being able to hit the second button more often than 1/10 attempts would be nice.

Screenshots

https://twitter.com/PorreKaj/status/1170986105598070785

Script Sample

New-UDFab -ButtonColor 'orange' -Icon beer -Size Large -onClick {
    
    } -Content {
    
        New-UDFabButton -ButtonColor 'blue' -Icon plus -onClick {
            Show-UDToast -Message "Add"
        }
    }

Version Information

  • Operating System: W10 1903
  • PowerShell Version: 5.1.14393.3053
  • Universal Dashboard Version: 2.5.3
  • UD Hosting Method: IIS

Additional context

Happens in both Chrome and Edge

@PorreKaj PorreKaj added the bug Something isn't working label Sep 9, 2019
@adamdriscoll adamdriscoll added this to the 2.6.0 milestone Sep 10, 2019
@adamdriscoll
Copy link
Member

@PorreKaj Can you try a nightly build of this? Looks like it's been fixed in master and I just want to validate that you see that as well.

https://github.com/ironmansoftware/universal-dashboard/releases/tag/nightly.20190911.2

@PorreKaj
Copy link
Author

PorreKaj commented Sep 12, 2019 via email

@adamdriscoll
Copy link
Member

@PorreKaj I added a new script to download and install nightly builds if you wanna give it a shot: https://github.com/ironmansoftware/universal-dashboard#nightly-builds

@adamdriscoll adamdriscoll modified the milestones: 2.6.0, 3.0.0, 2.6.1 Sep 14, 2019
@adamdriscoll
Copy link
Member

@PorreKaj Did this get resolved in 2.6 or is this still a problem?

@PorreKaj
Copy link
Author

PorreKaj commented Sep 22, 2019 via email

@adamdriscoll
Copy link
Member

I figured it out. The validateSet was looking for "Large" and "Small". The tests were using "large" and "small". If you actually used the upper version, it was causing the CSS to fail. It also made the icon shift over in the fab.

adamdriscoll added a commit that referenced this issue Sep 22, 2019
@PorreKaj
Copy link
Author

PorreKaj commented Sep 22, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants