Based on the dockview documentation direction: top does not seem to be a valid argument. However we use direction: top for our example here:
https://github.com/cynkra/dockViewR/blob/main/inst/examples/move_panel/app.R#L67
@DivadNojnarg am I missing something?