Skip to content

[EuiFilePicker] Fix disabled file picker showing input#4738

Merged
elizabetdev merged 3 commits intoelastic:masterfrom
elizabetdev:file-picker-opacity-bug
Apr 20, 2021
Merged

[EuiFilePicker] Fix disabled file picker showing input#4738
elizabetdev merged 3 commits intoelastic:masterfrom
elizabetdev:file-picker-opacity-bug

Conversation

@elizabetdev
Copy link
Copy Markdown
Contributor

@elizabetdev elizabetdev commented Apr 20, 2021

Summary

Fixes #4718.

This PR fixes a bug in EuiFilePicker where the HTML input was being shown when disabled.

file-picker@2x

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
  • [ ] Props have proper autodocs and playground toggles
  • [ ] Added documentation
  • [ ] Checked Code Sandbox works for the any docs examples
  • [ ] Added or updated jest tests
  • [ ] Checked for breaking changes and labeled appropriately
  • [ ] Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_4738/

@elizabetdev elizabetdev marked this pull request as ready for review April 20, 2021 17:58
@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_4738/

Copy link
Copy Markdown
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the quick fix! Tested in all 4 themes and 3 browsers and Chrome mobile. But I haven't checked iOS. Might want to double check that first.

@elizabetdev
Copy link
Copy Markdown
Contributor Author

Checked in Safari and Chrome for iOS and it looks good! 🎉

@elizabetdev elizabetdev merged commit 98eda30 into elastic:master Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EuiFilePicker] Disabled FilePicker shows underlying html input

3 participants