Replies: 5 comments
-
I'm seeing odd looking code:
Ether way, this not the place to be asking for help writing your code. This is the place for reporting issues with re-frame. |
Beta Was this translation helpful? Give feedback.
-
If you're interested to have a mailing list or forum for these kind of questions then have a look at http://clojureverse.org. It's a free, non commercial alternative set up precisely with that purpose. |
Beta Was this translation helpful? Give feedback.
-
There are an overwhelming number of channels out there. I tend to look at:
|
Beta Was this translation helpful? Give feedback.
-
Thanks mike-thompson-day8 for reviewing the code, Actually my original code works for PC browser. The issue is that it doesn't work on mobile browser. I attached 5 snapshot, the last is works for PC browser, but won't work for mobile. The logic is simple: click an item, it shows a modal and then pick up a feedback from a list and then save, when show the same item again, the pickup data should still exists, but it is gone for mobile browser, while it's there on PC browser. Looks like I don't need Form 2 component: I don't need to re-render when pick up a new option which will reset the atom, the reset is just store the picked up value, so that when click the save button, the data will be saved into the global db. I also tried to use Form 2 component, it still doesn't work on mobile. |
Beta Was this translation helpful? Give feedback.
-
I'm not aware of any reason for mobile and desktop to be different. As I said above, I can see problems in your existing code. |
Beta Was this translation helpful? Give feedback.
-
I have post the following link
http://stackoverflow.com/questions/32285936/regent-in-clojurescript-selected-value-could-be-save-in-pc-browser-but-cant-b
Using re-frame, the app works on PC but won't work on mobile, so I am wondering whether re-frame same as re-com and don't support mobile.
To verify it, just clone the following,
https://github.com/wqhhust/test_frame/
lein clean;lein figwheel dev
and in browser, lick the first element, on the modal window pick up a feedback and save, then re-click the same element to open the modal window: the difference is when re-click, in PC browser I could see the saved feedback, but in mobile browser the saved feedback is gone.
Beta Was this translation helpful? Give feedback.
All reactions