Calling mergeOptions from a screen inside a bottomTabs layout does not work as expected
https://github.com/Andarius/react-native-navigation/tree/mergeIssue
Press "BottomTabs" button on the main page, then "Change right button"
A right button should appear when clicking on "Change right button"
No right button is visible when clicking on "Change right button". It appears if:
https://github.com/Andarius/react-native-navigation/tree/mergeIssue

@Andarius
I checked out the mergeIssue branch but it seems like the layout screen is different then what's seen in the screen shots you've posted.

@guyca It did not push because of the eslint error. Should be ok now (I added --no-verify)
Hey @guyca , were you able to reproduce with the updated repo ?
Hey @Andarius, I haven't gotten back to it yet 馃槙
I noticed that in the current latest version of master (7.5.0) the same occurs if on the 1rst page, you click bottom tabs.
The star won't appear, but if you change tab then back it will.

@Andarius I tried to reproduce your issue in the current master and it did not reproduce, at least this flow, here is a branch that does the same thing as in your fork.
I noticed that in the current latest version of master (7.5.0) the same occurs if on the 1rst page, you click bottom tabs.
The star won't appear, but if you change tab then back it will.
maybe it's fixed as a side effect of other issues, can you kindly try current master out and approve if it occurs again? does my branch cover all changes done in your fork above as a test?
Hey @swabbass, I'll check that ASAP and let you know !
@swabbass The issue still exists, the star should appear immediatly
Here is a new repro: https://github.com/Andarius/react-native-navigation/tree/issue/mergeOptionsTopbar forked from current master.
Note: seems to happen when specifying backButton : { visible: false }option
https://user-images.githubusercontent.com/5070712/104207507-a21e7300-5430-11eb-8465-18160a52ba43.mp4
@Andarius
I got here 2 flows, the old one (old comment) I tried and the new one, on navigation master.
I tried your changes on navigation master (not the fork) and I could not reproduce
https://user-images.githubusercontent.com/7227793/104214131-c0d83600-543f-11eb-9dc5-4a86550b2f96.mp4
can you please manage to reproduce the issue via demo code like clean RN example project that demonstrates this behaviour
Interesting you are also experiencing another issue that I have: you have both the left button and the back button visible but you specified backButton : { visible: false }.
Are you sure you are on master? I pulled and forked d1355780b in the last reproduction I linked
thx, i noticed the back button thing, debugging it in the meantime, but the original issue you showed here i could not reproduce if u can create RNN example with a minimal reproducible demo that will be great!
I'm up-to-date with master actually I provided a branch from the master above, you can check it out here https://github.com/wix/react-native-navigation/tree/merge_options_change_topbar
Oh my bad, I was not running the emulator on the right branch. It works as expected, thank you and sorry for making you lose your time.
It also explains why I could not reproduce the back button issue in the playground. Do you want me to open another issue for it ?
It's ok :], yeah I'll be glad to have a new issue about that back button