[Bug]: event history (epoch) arg expansion faulty
hipitihop opened this issue · 2 comments
hipitihop commented
What happened?
When multiple invocation of the same event appears in the history:
- only args in the first element can be expanded. Following events/args do not respond to the mouse click.
- when you do expand the arg on the first element, ALL events args are shown.
After expanding first element:
10x Version
1.5.0
Reagent Version
1.1.1
React Version
17.0.2
re-frame Version
1.3.0
What browsers are you seeing the problem on?
Chrome
Relevant console output
No response
kimo-k commented
Can't repro. I tried a shadow-cljs project with those lib versions, tested on google-chrome-stable debian:
(rf/reg-event-db ::test (fn [_ args] args))
(let [lorem "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
keys (map keyword "abcdefg")
arg (->> (repeat lorem) (map vector keys) (into {}) (map vector keys) (into {}))]
(dotimes [_ 10] (rf/dispatch [::test arg])))