qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
53 stars 380 forks source link

[BUG] #578

Closed AbdeLhere closed 2 days ago

AbdeLhere commented 2 months ago

Summary

Item slot bug, item droping bug

Reproduction


First Bug:

  1. Open the inventory.
  2. Drop any item.
    • After dropping the item, a bag prop should appear, allowing you to pick it up.
  3. Pick up the bag and hold it in your hand.
  4. Enter any vehicle.
  5. Drop the bag while inside the vehicle.
    • After dropping the bag, it either falls through the map or remains under the floor instead of resting on top of it.

Second Bug:

  1. Open the inventory.
  2. Click and hold any item to move it (as if you are about to drag it into another slot, but keep holding it).
  3. While holding the item, close the inventory by pressing the ESC key.
    • After closing the inventory, the item slot remains visible in the same position where you left it when you closed the inventory.

Expected behavior

First Bug:

Second Bug:

Actual behavior

First Bug:

What Actually Happened: After dropping the bag while inside the vehicle, the bag either falls through the map or ends up underneath the floor instead of resting on top of it. This makes the bag inaccessible or difficult to retrieve.

Second Bug:

What Actually Happened: When you close the inventory while holding an item, the item slot remains visible on the screen in the same position where it was before the inventory was closed. The visual glitch persists even though the inventory is no longer open.

Additional context

No response

Last Updated

today

Custom Resources

no default qb base for testing

Resource Rename

no still "qb-inventory"

github-actions[bot] commented 1 week ago

This issue has had 60 days of inactivity & will close within 7 days