-
Notifications
You must be signed in to change notification settings - Fork 358
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
[frontend] fixed calendar button alignment in Oozie WF Submit form #3740
base: master
Are you sure you want to change the base?
Conversation
Thanks @tarunjangid for contributing a fix! I've tagged the UI code owners for reviewing this PR. |
position: fixed; | ||
} | ||
#param-container .btn-group.open { | ||
position: absolute !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need !important here? If so perhaps some other class is more specific...
@@ -168,6 +172,14 @@ else: | |||
huePubSub.subscribeOnce('hide.datepicker', function () { | |||
_el.datepicker('hide'); | |||
}); | |||
$(document).on("click.hideDatepicker", function (event) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This attaches an event listener on every click ($(".calendera-link").on("click" ... above). Better to attach it on show and detach on hide.
_el.datepicker('hide'); | ||
} | ||
}); | ||
$(".calendar-link, input[type='text']").on("click.stopPropagation", function(event) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same.
@@ -218,4 +230,4 @@ else: | |||
</div> | |||
</div> | |||
%endif | |||
</%def> | |||
</%def> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an unintentional change I suppose?
What changes were proposed in this pull request?
How was this patch tested?
Before:
before_changes.mov
After:
after_changes.mov
Please review Hue Contributing Guide before opening a pull request.