~whereswaldon/arbor-dev#119: 
https://git.sr.ht/~whereswaldon/materials

love that spmeone is doing this.

this does not work om mobile web. its really frustrating. the buttons dont do anthing. it looks fine though.

Status
REPORTED
Submitter
~joe-getcouragenow
Assigned to
No-one
Submitted
20 days ago
Updated
20 days ago
Labels
No labels applied.

~joe-getcouragenow 20 days ago

Make file:

dep: go get github.com/shurcooL/goexec go get gioui.org/cmd/gogio

desktop-run: # works fine cd $(LIB_FSPATH)/example && go run .

web-run: # or Desktop, works fine. # For Mobile web, the buttons dont work. This is a problme inherent to GIO cd $(LIB_FSPATH)/example && gogio -target js $(LIB) cd $(LIB_FSPATH)/example && goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir("example")))'

	

ngrok-run: # For Testing from real mobile jsut in case i am crazy :) # joe account #ngrok authtoken XXX ngrok http 8080

~joe-getcouragenow 20 days ago

I did some reading up. Seems that touch for mobile needs to be implemented explicitly. I figured that GIO framework would setup the touch events for others implementing on top of it - Guess not - bummer. I think this is a really useful lib for GIO Material LIb. DO you think its appropriate to bring this up in the main Dev discussion ?

~whereswaldon 20 days ago

I haven't tried using these components from wasm... I'm surprised that the touch support isn't handled, but I'm confident that ~eliasnaur would like to hear about it! I would bring it up on the main gio issue tracker: https://todo.sr.ht/~eliasnaur/gio

~whereswaldon 20 days ago

I'll also try to take this for a spin myself to validate your results

~joe-getcouragenow 20 days ago

cool thanks. I will ask on the main GIO list about Web Mobile and the blockers...

~joe-getcouragenow 20 days ago

OK i added the request for Mobile Web support: https://todo.sr.ht/~eliasnaur/gio/149

Register here or Log in to comment, or comment via email.