The stairs will have a floor or landing at the top and bottom. If a door does not swing over the stairs, a floor is not required at the top of an interior flight of stairs.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.