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

feat(rating): set cursor on stars of rating component #411

Merged
merged 1 commit into from
Jul 9, 2016

Conversation

jnizet
Copy link
Member

@jnizet jnizet commented Jul 8, 2016

The cursor used on the stars of the rating component is a text selection cursor, which doesn't make it clear that they're clickable. The cursor stays the same if the rating component is readonly.
This commit sets a 'pointer' cursor on the stars, and a 'not-allowed' cursor when it's read-only.

@Foxandxss
Copy link
Member

I saw this too, I haven't thought about the solution but I don't dislike that one.

@jnizet
Copy link
Member Author

jnizet commented Jul 8, 2016

Sorry for the failing build. I will fix the formatting and amend the commit.

The cursor used on the stars of the rating component is a text selection cursor, which doesn't make it clear that they're clickable. The cursor stays the same if the rating component is readonly.
This commit sets a 'pointer' cursor on the stars, and a 'not-allowed' cursor when it's read-only.
@pkozlowski-opensource
Copy link
Member

I'm good with this approach. We might be re-visiting how stars are rendered in the future so things might change but IMO this is a good starting point.

+1 from me

@pkozlowski-opensource
Copy link
Member

And LGTM

@pkozlowski-opensource pkozlowski-opensource added this to the alpha.1 milestone Jul 9, 2016
@Foxandxss Foxandxss merged commit bcba259 into ng-bootstrap:master Jul 9, 2016
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.

None yet

3 participants