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

Fix issue of modal being opened twice - Rotate refreh icon while loading #321

Merged
merged 2 commits into from
Sep 15, 2017

Conversation

x4d3
Copy link
Contributor

@x4d3 x4d3 commented Sep 14, 2017

No description provided.

@x4d3 x4d3 requested a review from xaun September 14, 2017 13:33
<span translate>mno_enterprise.templates.components.mnoe-tasks.compose_button_text</span>
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
</button>
<mno-dropdown-filter-selector filters="$ctrl.tasksFilters" selected="$ctrl.selectedTasksFilter" on-select="$ctrl.onSelectFilter($event)"></mno-dropdown-filter-selector>
<div class="refresh-tasks" ng-click="$ctrl.onRefreshTasks()">
<i class="fa fa-refresh fa-2x fa-fw" aria-hidden="true"></i>
<div class="refresh-tasks" ng-click="$ctrl.onRefreshTasks()" ng-disabled="$ctrl.tasks.loading" ng-class="{'disabled': $ctrl.tasks.loading}">
Copy link
Contributor

Choose a reason for hiding this comment

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

ng-disabled should be removed here

color: @mno-tasks-column-sort-icon-active-color;
&:hover {
color: darken(@mno-tasks-column-sort-icon-active-color, 15%);
}
&.disabled {
opacity: 0.5;
pointer-events: none;
Copy link
Contributor

@xaun xaun Sep 14, 2017

Choose a reason for hiding this comment

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

I would not recommend using pointer-events: none, it does not give the user any feedback and may feel like the page is frozen.

I recommend using cursor: progress or cursor: not-allowed. Here are the available pointer style examples: https://www.w3schools.com/cssref/tryit.asp?filename=trycss_cursor.

- Remove useless css
- Use pointer not-allowed
@cesar-tonnoir cesar-tonnoir merged commit ac669ef into maestrano:feature/tasks Sep 15, 2017
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.

3 participants