It's a little complicated, if you want the action buttons in the flyout bar can be bind to 1-10, that means you need to override the default keybindings, and will disabled the main action bar.
So normally we can override the 1-10 when the flyout bar is shown, and release the key binding when the bar is hidden. But that require some knowledge of the secure snippets.
If you are not familliar with that, I also have an old addon
https://www.curseforge.com/wow/addon...s_ui/actionbar
The last gif show the usage of it.