-
Notifications
You must be signed in to change notification settings - Fork 249
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
contrib-hotgraphic make popup notify #1525
Comments
Auto close the popup when clicking away. Drop in a background shadow behind it so the user understands it's a popup. |
I agree @oliverfoster, would be good to handle hotgraphic popups the same way we do notify popups. |
Whilst we're doing this, i think it's worth splitting hotgraphic into two views. A component and its popup. |
@oliverfoster just to confirm, the proposal is to go modal with hotgraphic popups ja? |
i'm not sure we've got consensus on this from anyone in open source yet. so we kinda have two options:
@brian-learningpool @dancgray @lc-thomasberger @danielstorey @ryanrolds @canstudios-paulh @moloko ... i've missed loads of people. |
I'm in favor of auto-closing if a click/touch event happens outside of the popup (is this #2?). This is not a component that I have used, nor am I doing the work. So, give my opinion less weight. |
I'm not sure this post is helpful, but want to let you know you are not talking into a void. |
Thanks Oliver, that helps a lot. I agree we shouldn't replicate code if we don't have to. Does notify currently support images (key to the hotspot)? |
Yes it does. But programically it's not great. That, video and more complicated question component style popups are the reasons to concentrate on getting notify up to scratch rather than supporting hotgraphic's popup. |
There is a demo of this in action here. Appreciate not everyone can access and I have tried as I might to provide guest access, but it's not happening. If there is a better place for a public demo please let me know @moloko, @oliverfoster P.S. I'll update the docs once we're happy. |
@chris-steele try https://rawgit.com/ you can make a repo and upload to git, use that website to make it run like a normal website it looks beautiful |
@chris-steele is there an open pr for this? |
closed original pr in favour of adaptlearning/adapt-contrib-hotgraphic#147 |
hot graphic now switched over to use Notify for popups |
When accessibility is enabled for larger touch devices, if a hotgraphic popup is left open there is an issue if the user interacts with other components. For example, on an iPad, opening an accordion item results in focus being shifted back to the popup. I can only think the solution here is to go to narrative on all touch devices?
@oliverfoster, @kirsty-hames as a11y disciples, can I get your thoughts on this?
The text was updated successfully, but these errors were encountered: