By strict 5e ruling, no, BG3 is different. In 5E RAW with Devil's Sight, you can shoot out of your darkness dome with advantage against anyone that cannot see you.
However, unlike BG3, they can still attempt to shoot back at you with disadvantage, as long as they know where you are within the darkness zone. This usually means if you're actively shooting and moving inside the darkness zone, then you are not hidden to your attacker, who can attack you with disadvantage. If you're standing still or hiding, then they have to guess where you are within the darkness zone, and then attempt to attack with disadvantage.
I'll have to test it more (only played around with it once this patch with Wyll, as I didn't use him as a main party member), but I thought melee in darkness had worked for me, but not ranged.
The way range attack is coded right now for darkness seems like it basically gets blocked in or out. It could be intentional or just a coding item that needs to get fixed up, it's hard to tell with Larian when it comes to issues they haven't addressed (i.e. like Wizards learning all spells). A lot of DMs do find the Darkness + Devil Sight combo very cheesy and nerf it.
Melee works, but not range, which still makes Darkness rather pointless. Ranged Warlocks (95% of Warlocks) will have to keep moving in and out and won't benefit from being unseen and Melee Warlocks could gain some benefit if Pact of the Blade is a thing, but it seems this is still a huge nerf.
I guess in theory, I can use my bonus action to hide and still potentially go to an unseen spot outside the darkness to attack
Can the character see in darkness? If so, then the character should be able to attack.
They fixed the blindness, but ranged attacks in and out are disabled.